Use this regex instead: /<([^>]*)suffix>/.
It will not allow things like foo> <bar, because [^>] ensures that the match souldn't containt >.
galambalazs
2010-07-12 11:55:23
Use this regex instead: /<([^>]*)suffix>/.
It will not allow things like foo> <bar, because [^>] ensures that the match souldn't containt >.