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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,300 community submitted regex patterns...
1
ds100reg2
Python
Data 100 Regular Expressions, adapted from Princeton
Submitted by
anonymous
-
2 years ago
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
2
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
2 years ago
0
ex1 pcd
Python
"(?PJan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (?P\d\d) (?P\d\d\d\d), (?P\w{7}), (?P.*), (?P\d.\d)"gm
Submitted by
sparaiso
-
2 years ago
0
URL
Python
Recognizing URLs
Submitted by
anonymous
-
2 years ago
0
Loan Amount
Python
Recognizing loan amount
Submitted by
anonymous
-
2 years ago
0
الرقم القومي المصري Egyptian National ID numer
PCRE (PHP <7.3)
استخراج المعلومات من الرقم القومي المصري لمعلومات اكثر رجاء زيارة: استخراج المعلومات من الرقم القومي المصري برمجياً
Submitted by
anonymous
-
2 years ago
0
IPv4 Address +/- CIDR Slash Notation
Python
Grabs an IPv4 address, and if it has a CIDR slash notation, then grab that too.
Submitted by
dboyd42
-
2 years ago
(Last modified a year ago)
0
URL Domain Capture
Python
A Python capture group for URL domain extraction.
Submitted by
DataQuest
-
2 years ago
1
Parse Data Fields
Python
Parsing example
Submitted by
anonymous
-
2 years ago
0
Quiz Feed – Pages Only
PCRE (PHP <7.3)
The new quiz feed pages and its sub-feeds. i.e. /quizzes/foo
Submitted by
anonymous
-
2 years ago
-2
Quizzes Feedpager – XML
PCRE (PHP <7.3)
Matches the XML pages of the /quizzes routes for feedpager
Submitted by
anonymous
-
2 years ago
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
2 years ago
0
month with year extraction
Python
ready code
Submitted by
anonymous
-
2 years ago
0
Italian phone number regex
PCRE (PHP <7.3)
Italian phone number reg
Submitted by
Ali Babayev
-
2 years ago
0
Yandex music track regex
Python
Regex for yandex music track
Submitted by
anonymous
-
2 years ago
0
Find two matching group
Python
Find two matching groups
Submitted by
anonymous
-
2 years ago
0
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
2 years ago
1
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
PCRE (PHP <7.3)
No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed
Submitted by
Natalia zolotareva
-
2 years ago
0
Parse ISO date with named group for Python
Python
Parses ISO date like: 2021-01-19T15:21:32.59+02:00 and returns these named groups: fulldate (full date and time) date (2021-01-19)...
Submitted by
Fabio Rotondo (fsoft)
-
2 years ago
1
...
24
25
26
27
28
...
565
Italian phone number regex
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
[
+
]
)
39
)?
(
(
3
[
1
-
6
]
[
0
-
9
]
)
)
(
\d
{7}
)
$
/
gm
Open regex in editor
Description
Italian phone number reg
Submitted by
Ali Babayev
-
2 years ago