I'm struggling with regular expression. I test it out using this so its not my code (not yet :P). So, i have a long and nasty string, looks more or less like that:

<im a really nasty string from hell/>
<still a nasty string from hell/>
<oh, this is part i need/><
<im a really nasty string from hell/>
what i want:

<oh, this is part i need/>
i try to catch it with that:
(
\;<)(.|\n|\t)*?(need)(.|\n|\t)*?(\/>)
but it catches to much.. like that:

<im a really nasty string from hell/>
<still a nasty string from hell/>
<oh, this is part i need/>
so end part works as intended, but it grabs to much at the beginning, and I'm not sure why.