Regular Expressions 101

Sponsors

phone number matcher

Vote

0

Regular Expression
java

"
(\+?[\d]{1,3}([-]{0,2}|[\s]+)?)?\(?(\d{3})\)?([-]{0,2}|[\s])?(\d{3})([-]{0,2}|[\s])?(\d{4})(\s?(([E|e]xt[:|.|]?)|x|X)(\s?\d+))?
"
gm

Description

Loading markdown...
Submitted by anonymous - 4 months ago