Another regexp question
I have input text like this:
test start first end start second end start third end
and I need matches like this:
test first
test second
test third
I've tried something like that:
start(.*?)end
but how to add "test"?
Thanks for any suggestion
Lennyd
(edited - there was mistake in input text)
There is no chance to use another programming language, it should be just regexp. I need this for parsing web page with (part) syntax like this:
Season 1 Episode 1 Episode 2 Episode 3 Season 2 Episode 1 Episode 2 ...etc
and with this regexp i need output like
<episodeslist>>
<episode season="1" episode="1">
<episode season="1" episode="2">
.. etc
.. deatiled - it is for xmbc.org media scraper