Relative Content

Tag Archive for htmlregex

RegEx: different results in sandbox and browser [duplicate]

This question already has answers here: Why is my regex valid with the RegExp u flag, but not with the v flag and does not work in HTML pattern attribute? (2 answers) Closed 3 months ago. I have an email validation regex, it goes like this ^(?:[w-]+.?)+@(?:[w-]+.?)+[w-].[a-z]{2,}$ I checked it in a couple of sandboxes […]