Compare Revisions

Regular Expressions

Revision 451835:

Revision 451835 by MartinRinehart on

Revision 463869:

Revision 463869 by Revolt on

Title:
Regular Expressions
Regular Expressions
Slug:
Web/JavaScript/Guide/Regular_Expressions
Web/JavaScript/Guide/Regular_Expressions
Tags:
"Référence","Reference","Regular Expressions","NeedsBrowserCompatibility","JavaScript"
"Référence","Reference","Regular Expressions","NeedsBrowserCompatibility","JavaScript"
Content:

Revision 451835
Revision 463869
t942      var re = /\(?\d{3}\)?([-\/\.])\d{3}\1\d{4}/;  t942      var re = /(?:\d{3}|\(\d{3}\))([-\/\.])\d{3}\1\d{4}/;  

Back to History