I have the following texts:
This text appears at p.UNWANTED_TEXT72
This text appears between pp.UNWANTED_TEXT12-14
I want to select text between p.
and first digit occurred and remove it:
Here is what I want:
This text appears at p.72.
This text appears between pp.12-14.
The following expression captures boundaries as well:
p\.(.*?)\d
How can I exclude the boundaries from selection?