Regular Expressions 101

Sponsors

Library entries

0
javascript

Parse Rx DataMatrix

Parse Rx DataMatrix
Submitted by hoangitk - 22 days ago
0
javascript

CMake problem matcher

CMake problem matcher
Submitted by anonymous - 22 days ago
0
javascript

quizlet link extract

fg
Submitted by anonymous - 24 days ago
0
javascript

quizlet data extract

.
Submitted by anonymous - 25 days ago
0
javascript

Command Usage

a
Submitted by 12944qwerty - a month ago
0
javascript

PACCAR VIN trimmer

trin vin from a scanned qr
Submitted by anonymous - a month ago

Regex de validação de número celular e fixo | JS (ECMAScript)

Vote

1

Regular Expression
javascript

/
^(?<DDI>(\+|00|\+00)?[\s\-\.]?(\(?[5]{2}\)?)?)?[\s\-\.]?(?<DDD>\(?0?([1-9]{2})\)?)[\s\-\.]?(?<Digito>9)?[\s\-\.]?(?<Numero>(?<PrimeiraParte>[1-9][0-9]{3})[\s\-\.]?(?<SegundaParte>[0-9]{4}))\s?$
/
gm

Description

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