DEV Community

Discussion on: Regex Bootcamp (or Nobody Seems to be Using HTML5 Validation)

Collapse
 
dexygen profile image
George Jempty

Hmm I could be wrong I was trying something like this but it was barfing on the \d I think, as soon as I used new RegExp and escaped the \d with a slash it worked.