Regular Expressions 101

Sponsors

Library entries

0
javascript

Simple Macro Extraction from Ad Tag

Submitted by AM - a month ago
0
javascript

Şekil sayı'ek

Şekil 1'de Şekil 6.'da Şekil 5'te
Submitted by anonymous - a month ago
0
javascript

Cümle içi atıf

Yazar ve Yazar (2022)
Submitted by caner - a month ago
0
javascript

Color Codes

hi
Submitted by 12944qwerty - a month ago
0
javascript

itemku regex youtube

sdfsdfsdf
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 - 2 months ago