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,000 community submitted regex patterns...
0
get facebook page id - SMART
Python
get facebook page id from html response
Submitted by
anonymous
-
2 years ago
0
Replace multiple spaces to single space.
PCRE2 (PHP >=7.3)
/preg_replace('!\s+!', ' ', $s)/gm
Submitted by
anonymous
-
2 years ago
0
Bulgarian Phones
Python
A regex for finding a Bulgarian phone. A Softuni task
Submitted by
anonymous
-
2 years ago
0
Match Dates
Python
Write a program, which matches a date in the format "dd{separator}MMM{separator}yyyy". Use capturing groups in your regular expression.
Submitted by
anonymous
-
2 years ago
0
Match Emojis
ECMAScript (JavaScript)
Match all emojis using unicode
Submitted by
Sagar Panchal
-
2 years ago
0
Semver split
Golang
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
-
2 years ago
0
XML file extract from logs
Python
For internal use
Submitted by
ezalos
-
2 years ago
0
Find ytdlp downloaded file path
Python
For internal use
Submitted by
ezalos
-
2 years ago
(Last modified 2 years ago)
0
Validar Nombres
PCRE2 (PHP >=7.3)
Sin espacio al inicio o fin, sin caracteres especiales
Submitted by
Brahian Torres
-
2 years ago
(Last modified a year ago)
0
Validar identificación
PCRE2 (PHP >=7.3)
Solo se admiten numeros, sin espacios al inicio o fin
Submitted by
anonymous
-
2 years ago
0
E-mail address
ECMAScript (JavaScript)
RFC Compliant Email Address (https://datatracker.ietf.org/doc/html/rfc2822)
Submitted by
David Bécu
-
2 years ago
0
Search for URL
PCRE2 (PHP >=7.3)
Searches the string for valid URLs. Includes HTTP, HTTPS, and localhost with it's port.
Submitted by
Evan Wilson
-
2 years ago
0
hyperlinks
Python
collect information from web links
Submitted by
anonymous
-
2 years ago
0
SSN Finder
PCRE2 (PHP >=7.3)
([0-7]\d{2}(" "|-|\.)?\d{2}(?(2)(" "|-|\.))\d{4}) Finds the first number as 0-7 then matches the next two digits Will check what delimitator (group 2) if any is used finds two digits if a delimitator is used - if it is then use one here, if not then don't (prevents US based zip code + 4 from getti...
Submitted by
ACCS
-
2 years ago
0
Telephone
PCRE2 (PHP >=7.3)
\+7\s\(\d{3}\)\s\d{3}\s\d{2}\-\d{2}
Submitted by
anonymous
-
2 years ago
0
Aurora SMS Log Parser
Python
For personal use in my project.
Submitted by
sn3kdev
-
2 years ago
0
domain
Golang
ss
Submitted by
sssssss
-
2 years ago
0
UTC+
PCRE2 (PHP >=7.3)
Match {space}UTC+{number}
Submitted by
yedrup
-
2 years ago
0
bs-icons
PCRE2 (PHP >=7.3)
dwa
Submitted by
anonymous
-
2 years ago
0
eval expression
Python
expression will create from example: 2 + 1 + 3 * 510.3 - 50 * (20 - 29 * 2) this: 2,+,1,+,3,,510.3,-,50,,(20,-,29,*,2)
Submitted by
NotMEE12
-
2 years ago
1
...
498
499
500
501
502
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
\[
(?:
(
\+
[
0
-
9
]
{1,2}
|
(?:
I
PRI
|
II
DUO
|
III
TRI
|
IV
TET
|
V
PEN
)
)
:
?
)?
(
.
*
)
\]
)
(?:
(
[
0
-
9,
]
*
)
)
.
*
?
\(
(
[
0
-
9:
]
{5}
)
\)
/
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago