0

I am working to draft a regex to match the specific word in the below expression if not specified in the list of words.

For example an input expression to match and select only Pow1 and 1Subtract3 because these are not specified in the regex list.

sumFactor + Pow1(1 + nominalRate, -1 * iterator) + Today().1Subtract3(DOB).Days / 365

so far I could make this regex

\b(?!(Pow|Subtract|Today)\b).*(?=\s*\()
Furqan Safdar
  • 15,658
  • 12
  • 57
  • 89

0 Answers0