Home > front end >  Regular expression match disorder of text
Regular expression match disorder of text

Time:10-11

For help, how can a regular expression match content is irregular, the content of the order,
For example: online shopping & amp; Brush list & amp; Daily the regular matching can only appear in the order of content
Can realize the online shopping, brush list, whether junction of the three key words in the content of what can be matched to the order?

CodePudding user response:

^ (? (=. * online shopping)? (=. * good)?=. * daily). * $

Can you tell me whether it is perfect, is there any disadvantages?

CodePudding user response:

The
reference points 1 floor? Response:
^ (? (=. * online shopping)? (=. * good)?=. * daily). * $

Can you tell me whether it is perfect, is there any disadvantages?
the regular problem

CodePudding user response:

The regular expression has nothing to do with the order,
  •  Tags:  
  • ASP
  • Related