Home > front end >  How to match strings around a term
How to match strings around a term

Time:12-11

What is the best way to match the following phrases?

  • Cumulus
  • Cumulus Identity Server
  • Cumulus Service
  • LS Cumulus Connector

In other words. What is the best way to deal with that LS and Connector around Cumulus, like this rough draft:

Cumulus( Identity Server| Service)?|LS Cumulus Connector.

Thank you!

CodePudding user response:

I made your solution work:

(Cumulus( Identity Server| Service)?)|(LS Cumulus Connector)

The problem in your solution was the space after "Cumulus" - I moved it inside the parenthesis.

Test here.

  • Related