You have a problem parsing a string like a regular expression ? Why not download the Apache Jakarta Regexp class ?

UUPS, I missed, wrong place for this reply...