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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
0
Kennis
PCRE (PHP <7.3)
no description available
Submitted by
mrosm20
-
7 years ago
0
mobile number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
saving_routes_from_table
Python
no description available
Submitted by
anonymous
-
7 years ago
0
first initial, last name - podio
PCRE (PHP <7.3)
looks at the full name and grab the first word (last name) and the first letter of the next word (first name initial)
Submitted by
anonymous
-
7 years ago
0
Tüm harfler (Türkçe karakterler dahil)
PCRE (PHP <7.3)
[a-zA-ZĞÜŞİÖÇığüşöç] Programciyiz.NET Düzenli ifadelere hoşgeldiniz! ...
Submitted by
anonymous
-
7 years ago
0
fluentbit systemd logs
PCRE (PHP <7.3)
Fluentbit systemd logs
Submitted by
anonymous
-
7 years ago
0
catching_modules_sh_inventory
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Regex for PIACC db
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
プリパラ
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Word matching
PCRE (PHP <7.3)
+\b
Submitted by
anonymous
-
7 years ago
0
Validate and hour date DD/MM/YYYY HH:mm (Leap Year)
ECMAScript (JavaScript)
Validate date in format DD/MM/YYYY HH:mm generaly used in Brazil. With hour in 24 hours format and validating leap year too, optional time.
Submitted by
Eleison Christiano
-
7 years ago
0
Neo4j cypher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
NFS share
ECMAScript (JavaScript)
matches a NFS share valid URL.
Submitted by
anonymous
-
7 years ago
0
Test a string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
catch_physicalinterface_huawei_cisco
Python
no description available
Submitted by
anonymous
-
7 years ago
0
catch_softwareversion_model_huawei_cisco
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Regex for span content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Beschleunigung
Python
Regex für das Parsing von allen Beschleunigungen (Längst- und Quer-)
Submitted by
Eugen
-
7 years ago
0
url to link
PCRE (PHP <7.3)
The fastest I could come up with to find links in a text story to convert to html tag for web use Most make links out of garbage like ss.ss.sss even www.www this requires www if it isnt following https?:// so it finds urls not typos IF your paranoid that it might pull links out of an html tag in you...
Submitted by
mikesbored
-
4 years ago
0
Dates
Python
no description available
Submitted by
anonymous
-
7 years ago
1
...
118
119
120
121
122
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(
[
A
-
Z
]
{2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{1,2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
A
-
Z
]
{0,3}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{4}
)
\b
/
gi
Open regex in editor
Description
lenient validator (for transformation)
/\b([A-Z]{2})[^A-Z0-9]*?([0-9]{1,2})[^A-Z0-9]*?([A-Z]{0,3})[^A-Z0-9]*?([0-9]{4})\b/i
Matches 4 groups like:
RJ
02
FG
5343
Will match:
RJ03QH3918
RJ 03QH 3918
RJ-03-QH-3918
MP,,,03-QH3998
Will not match:
MP,,01,03-QH3998
MP03QH399998
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)