Hi,
I am stuck with pattern matching.
I need to match a particular pattern several times in a same line and replace them.
for ex.,
I need to convert
(abc XY) (bvf ZY) bla bla
to
XY ZY bla bla
I tried..
s/\([a-z]+ (.[A-Z]+)\)/$1/gi
and it works
(abc XY) ZY bla bla
Can someone help me?
Thanks