My question is quite simple
I'm trying to come up with a RE to select any set of words or statement in between two characters.
For example is the strings are something like this :
') as whatever '
and it can also look like
') as whatever\r\n'
So i need to extract 'whatever' from this string.
The Regex I came up with is this :
\)\sas\s(.*?)\s
It works fine and extracts 'whatever' but this will only work for the first example not the second. What should i do in case of the second statement
I'm basically looking for an OR condition kind of thing!
Any help would be appreciated
Thanks in advance