I am trying parse out some text that is in an html file. The text I am trying to parse out it is the text that is always after the text developer and before the text >
So an example would be:
developerNeedThis1></textarea>
In this case I want the text: NeedThis1.
I try this:
(?<=name=developer).*
But this gets me:
NeedThis1
></textarea>
Any tips on how to also add in to get the text before
></textarea>
Thanks.
Depends on what tool you’re using, but here’s sed:
Input:
Output: