Regular Expressions 101

Library entries

Brazilian Phone number

Vote

1

Regular Expression
javascript

/
(?:\(?)([0-9]{2})(?:\)? ?)(9?[0-9]{4})(?:\-)?([0-9]{4})
/
g

Description

Loading markdown...
Submitted by Matheus Gambati - 6 years ago