A regular expression to find
I'm a regexp noob, and google has not helped me with what I assume(hope)
is an easy answer.
I want a case insensitive expression that will logically find: (stringA OR
stringB) AND stringC.
So if stringA is "dr" stringB is "doctor" and stringC is "presume", I want
these results:
Dr. Livinsgston I presume TRUE
Doctor Livingston I presume TRUE
Mr. Livingston I presume FALSE
It does not matter where in the tested string the values reside, though if
I could have the expression require that (A or B) precede the C in the
tested string, that would be even better.
Is this doable with a regexp?
No comments:
Post a Comment