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 13,920 community submitted regex patterns...
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
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
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
0
Phone number
PCRE2 (PHP >=7.3)
It works like it looks, a plus followed by 1 or 2 digits, followed by a standard 10 digit phone number
Submitted by
Brady Kelly
-
2 years ago
0
URL Domain Capture
Python
A Python capture group for URL domain extraction.
Submitted by
DataQuest
-
2 years ago
0
Street name and house number
PCRE2 (PHP >=7.3)
Checks if address given has a street name and a house number among other things
Submitted by
Bill Seremetis (bserem)
-
2 years ago
0
Pleas help me select all content in div tag
PCRE2 (PHP >=7.3)
Pleas help me select all content in div tag
Submitted by
anonymous
-
2 years ago
0
Pleas help me select all content in div tag
PCRE2 (PHP >=7.3)
Pleas help me select all content in div tag
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 10 months ago)
0
Remove duplicate lines in sorted text
Java 8
See
Submitted by
@atnbueno
-
2 years ago
0
الرقم القومي المصري Egyptian National ID numer
PCRE (PHP <7.3)
استخراج المعلومات من الرقم القومي المصري لمعلومات اكثر رجاء زيارة: استخراج المعلومات من الرقم القومي المصري برمجياً
Submitted by
anonymous
-
2 years ago
0
xrandr device line
PCRE2 (PHP >=7.3)
Device line of xrandr output
Submitted by
anonymous
-
2 years ago
0
Semantic Branch Names Regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
2 years ago
-2
Conventional Commits commit regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
2 years ago
0
Loan Amount
Python
Recognizing loan amount
Submitted by
anonymous
-
2 years ago
0
URL
Python
Recognizing URLs
Submitted by
anonymous
-
2 years ago
0
NSW Residential Zip Code
PCRE2 (PHP >=7.3)
The convention is found on this: https://en.wikipedia.org/wiki/Postcodes_in_Australia Values accepted: 2000—2599 2619—2899 2921—2999
Submitted by
Minh Dang
-
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
חיפוש דיבור המתחיל לפי קוד פותח קוד סוגר או משהו אחר
PCRE2 (PHP >=7.3)
חיפוש דיבור המתחיל על פי קוד פותח - למשל @20 וקוד סוגר למשל קוד @50 אבל אנחנו רוצים לתפוס רק את הטקסט שלו לא כולל הקודים כמו כן אנחנו רוצים שאם יש איזה שהוא תו מסויים אחר, הוא יחשב סוף דיבור למשל F5 או AF5
Submitted by
anonymous
-
2 years ago
0
ds100reg5
PCRE (PHP <7.3)
ds100reg5
Submitted by
anonymous
-
2 years ago
1
...
615
616
617
618
619
...
696
Crusader Kings 3 plain-text match
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
|
\$
|
\]
|
\#
\w
+
)
[
\'
,.
\w
а
-
яА
-
ЯA
-
Za
-
z
?!:;
\"\/\-\\\(\)\%
]
*
(
\[
|
\[
|
\$
|
\"
|
\#
)
/
mg
Open regex in editor
Description
Simple expression that find plai-text in yml files.
Submitted by
ASMcoder
-
2 years ago
(Last modified 2 years ago)