Regular Expressions 101

Community Patterns

3

Non vowel words

ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by regexe - 8 years ago

Valid Telephone Number

10

Regular Expression
ECMAScript (JavaScript)

/
(^(1?)(\s?)([\s]?)((\(\d{3}\))|(\d{3}))([\s]?)([\s-]?)(\d{3})([\s-]?)(\d{4})+$)
/
gmi

Description

Loading markdown...
Submitted by Adam Recvlohe - 8 years ago