From this file:
xxxxxxx; foo("this should be extracted 1"); bar("this should not be extracted"); yyyyyyy zzzzzzzzzzzzzzzzzzzzzzzz foo("this should be extracted 2") uuuuuuuuuuuuuuuuuuuuuuuuuuuuu I want to get this:
this should be extracted 1 this should be extracted 2 I only managed to select the strings I want to extract using this regex: (?<=foo\(")(.*?)(?="\)). But I can't find a way to extract it or to delete all the unmarked text.
I put some x, y, z and u characters in the example just to show that in this file there are a lot of other things in the same line
Could somebody help me?
Thanks!
