Last active
June 12, 2018 17:01
-
-
Save vaderj/2e7548331c04a417d4995087169fa911 to your computer and use it in GitHub Desktop.
RegEx used for SharePoint search query rulesquery terms must contain all three words: hospital, marketing, guide(?i: = case insensitive #RegEx #SharePoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?i:(?=.*\bhospital\b)(?=.*\bmarketing\b)(?=.*\bguide\b)).+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will return for: | |
(doctor OR dr OR dvm) + (compensation OR pay) + (calculator OR calc) | |
(?=.*\bdoctor\b|.*\bdr\b|.*\bdvm\b)(?=.*\bcompensation\b|.*\bpay\b)(?=.*\bcalculator\b|.*\bcalc\b).+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment