Regular Expressions 101

Sponsors

Library entries

0
pcre2

Hello World exercise

Find Hello world!
Submitted by viktomas - 5 months ago
0
pcre2

Time Hint

Regex for detecting common date/time formats.
Submitted by Gyen - 5 months ago
1
pcre2

aadhar number

Finds Aadhar number from given string
Submitted by anonymous - 5 months ago
0
pcre2

nextflow

nextflow grammer
Submitted by anonymous - 5 months ago
1
pcre2

find all url in <a> in html

for tp
Submitted by anonymous - 5 months ago
1
pcre2

find text in html

for tp
Submitted by anonymous - 5 months ago
1
python

surnames

italian uppercase surnames
Submitted by anonymous - 5 months ago
0
python

AyL

Example of re and substitutions with csv file
Submitted by Ing Daniel Pérez - 5 months ago

Regex de validação de número celular e fixo | PHP (PCRE2)

Vote

1

Regular Expression
pcre2

/
^((?#DDI)(\+|00|\+00)?[\s\-\.]?(\(?[5]{2}\)?)?)?[\s\-\.]?((?#DDD)\(?0?([1-9]{2})\)?)[\s\-\.]?((?#Dígito)9)?[\s\-\.]?((?#Número)((?#Primeira Parte)[1-9][0-9]{3})[\s\-\.]?((?#Segunda Parte)[0-9]{4}))\s?$
/
gm

Description

Loading markdown...
Submitted by Danillo Dantas - 7 months ago