I want to extract a string whether it is at the beginning of a sentence or the end it has to be the whole word. The expression should work in both PCRE and POSIX.
Example:
input strings=['ALLY [&] MORTY','[&] ME', '[&]']
---> match is in bracket
I want to extract a string whether it is at the beginning of a sentence or the end it has to be the whole word. The expression should work in both PCRE and POSIX.
Example:
input strings=['ALLY [&] MORTY','[&] ME', '[&]']
---> match is in bracket