My text is:
999 blaw blaw blaw1 999 blaw blaw blaw
And I want to choose:
blaw blaw blaw1
Now, I could do this using:
([0-9][0-9][0-9] )(.*?)( [0-9][0-9][0-9])
But the problem is I can't use ".*?"
in what I'm using. Replacing (.*?)
with ([^0-90-90-9]*)
would have worked if I didn't have the 1
replaces by the blaw1
!
Any suggestions, I'm using Stata if it is relevant.