Regular expression validating phone number

Make sure to be in global mode (g flag), case insensitive and to have the dot all option on.

This regular expression will match all HTML tags and their attributes.

Safari uses an interface that looks like a number spinner but increments the yyyy-mm-dd string one day at a time.

For each of the new input types, we present a high-level description, an overview of the syntax, a description of the main attributes, a summary of which current browsers support it, and an example you can experiment with in your browser.

Please send corrections and suggested improvements to [email protected] As of January 2013, Opera had the most complete support for these new input elements, followed closely by Chrome.

You could try to match for an extension, but there's no requirement for a file to have an extension.

There are probably dozens of way to format a phone number.

Leave a Reply