Mr Scratch
Expert Member
- Joined
- May 15, 2013
- Messages
- 4,838
Hi all,
I have a long line that I would like to extract a specific string from using regex, the line would look like:
Taking a look at the part I would like:
The data will always start with history.pl?order= and ends with a "
Could anyone please assist me with building a regex that would allow me to extract this, the part after the order= is not of set length but since its delimited with "
Thank you
I have a long line that I would like to extract a specific string from using regex, the line would look like:
Code:
<thing>thing</thing><url href="/orders/[B]history.pl?order=randomstring[/B]"<tag>stuff</tag>
Taking a look at the part I would like:
Code:
history.pl?order=randomstring"
The data will always start with history.pl?order= and ends with a "
Could anyone please assist me with building a regex that would allow me to extract this, the part after the order= is not of set length but since its delimited with "
Thank you