Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 7,840 community submitted regex patterns...
0
singleTime ztm
Python
ss
Submitted by
pochwix2
-
2 years ago
0
<a (data-geo-type[^>]+) (.+?title="that")>.*?<\/a>
PCRE2 (PHP >=7.3)
ค้นหา a ลงท้าย a
Submitted by
anonymous
-
2 years ago
0
device-linux
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Contas regex
Python
A simple regex for contas bancárias
Submitted by
anonymous
-
2 years ago
0
Out of
Python
Out of
Submitted by
anonymous
-
2 years ago
0
IBAN SEPA
ECMAScript (JavaScript)
This regex check for valid IBANS with SEPA only. Country definition https://www.iban.de/iban-laenderliste.html
Submitted by
Florian Bischof
-
2 years ago
1
Sri Lankan National Identity Card and Sri Lanka Identity Number validation
PCRE2 (PHP >=7.3)
Sri Lankans have two types of identifiation numbers. National Identity Card number Sri Lanka Identity Number National Identity Card number...
Submitted by
Isuru Ranawaka
-
2 years ago
1
Password - mot de passe
PCRE2 (PHP >=7.3)
1 caractère minuscule minimum 1 caractère majuscule minimum 1 chiffre minimum 1 caractère spécial minimum pas d'espace 8 caractères minimum en tout
Submitted by
Sofiane
-
2 years ago
0
a
ECMAScript (JavaScript)
不得輸入0、空值、符號、負數(僅限溫度)、小數點(僅支援後2位)
Submitted by
anonymous
-
2 years ago
0
num pattern
ECMAScript (JavaScript)
a
Submitted by
Ibraheem
-
2 years ago
0
Pan card number details
PCRE2 (PHP >=7.3)
https://regex101.com/r/eeW6Wz/2
Submitted by
anonymous
-
2 years ago
0
regexGetAccount
ECMAScript (JavaScript)
(Element CI: )\d{4}
Submitted by
raphael
-
2 years ago
0
Email validation regex
Python
This email validation regex works perfectly (99.99%) for validating email address entries. The regex does not match email addresses with with the following characteristics: Addresses that begin/end with a special character Addresses with consecutive repeated special characters ...
Submitted by
Bright Owusu
-
2 years ago
(Last modified 2 years ago)
0
PHP quoted string constants parse
PCRE2 (PHP >=7.3)
Sometime we need to quickly parse PHP code. When no reason to use full AST parser, we can use regular expressions for find constants.
Submitted by
Slava Krampetz
-
2 years ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
0
Bandwidth value validation
Python
Bandwidth value validation: 1-1023K 1-1023M 1-40G
Submitted by
Damien Stuart
-
2 years ago
0
Descbuilder
PCRE2 (PHP >=7.3)
Filtr indeksów monitorów wg regexp
Submitted by
HSI
-
2 years ago
0
Echo
ECMAScript (JavaScript)
Usage of named capture group.
Submitted by
Abitwhy
-
2 years ago
(Last modified 2 years ago)
0
HTML
PCRE2 (PHP >=7.3)
This regular expression can be used to verify html (by removing the anchor before pair), as well as extract elements of html (specify elements before the pair).
Submitted by
Yubo
-
2 years ago
0
my_regex
PCRE2 (PHP >=7.3)
sample regex expression
Submitted by
anonymous
-
2 years ago
1
...
87
88
89
90
91
...
392
Regex de validação de número celular e fixo | PHP (PCRE2)
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(?#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
Open regex in editor
Description
Regex validação número celular e fixo
Somente números nacionais
Com ou sem DDI 55
(com ou sem + e/ou 00)
DDD obrigatório
(com ou sem parênteses)
Com ou sem Dígito 9
Com ou sem espaços vazios, hífens ou pontos entre os capture groups
Substitui pelos capture groups mantendo somente os números no padrão abaixo
DDI+DDD+DÍGITO+NÚMERO = 552198887777
Submitted by
Danillo Dantas
-
2 years ago