Relative Content

Tag Archive for javascriptregex

What does this regex range mean?

This is a sample code for our phone number validation. A developer has written a regex like 00[0-35-6] but I am not sure what does it mean

I’m not able to pass certain cases in a Regular Expression in Javascript

I’m not able to pass certain test cases.
Your regex should match the string JACK
Failed:Your regex should not match the string J
Passed:Your regex should match the string Jo
Passed:Your regex should match the string Oceans11
Passed:Your regex should match the string RegexGuru
Passed:Your regex should not match the string 007
Passed:Your regex should not match the string 9
Failed:Your regex should not match the string A1
Passed:Your regex should not match the string BadUs3rnam3
Passed:Your regex should match the string Z97
Passed:Your regex should not match the string c57bT3
Passed:Your regex should match the string AB1
Passed:Your regex should not match the string J%4