Originally Posted By: Thrull
/noop $regex(text,/>([a-z]*)\:/i)

That will store (capture) the text in $regml. Your example shows a space after '>' which will change it to

/noop $regex(text,/>\s([a-z]*)\:/i)

Btw, if you need more help feel free to drop by #Regex on Undernet. There's almost always someone around to help out with simple stuff.

you were right that i had space after the > sign, but the string what comes after that can contain spaces too but it should captur those with it.
like:
<BLA> this is sentence with spaces: oirj ojfojeqofjweoifj

it should capture the whole sentence now like this:
"this is sentence with spaces"

Oh and the sentence can contain ANY characters (except ':')

Last edited by s0tt0; 01/02/07 11:49 AM.