RegEx question

Topics: General
Feb 24, 2011 at 9:24 PM


I want to use a Regular Expression to validate an e-mailaddress. But my expression /^(.+)@([^\(\);:,<>]+\.[a-zA-Z]{2,4})/ contains '<>' so its changes these to lt and gt. How to pass this check?

grtz Ronald

Feb 24, 2011 at 10:13 PM

Hi Ronald,

I tried creating a data type with a string field having the above regex, just without the start/end slashes (see below) and it worked just fine. Where do you see &lt; show up?



Feb 24, 2011 at 10:25 PM

marcus, you should be either sleeping or drinking faroese vodka with the rest of us! :)

Feb 25, 2011 at 9:50 AM

Hi Marcus,

Shame on me, because after trying your suggestion I have to admit that I didn't know I had to erase the start/end slashes. Now it works!


grtz Ronald