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,020 community submitted regex patterns...
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
URL-safe, human-safe friendly IDs
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
between quotes
PCRE (PHP <7.3)
Grabbing data beteween quotes.
Submitted by
anonymous
-
10 years ago
1
Month Day, Year match
Python
Match a date in the following Month Day, Year format: June 14, 2013
Submitted by
Drew
-
10 years ago
1
erb
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
erb match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Match Date with Month spelled out
Python
no description available
Submitted by
Drew
-
10 years ago
1
regExplication
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
17a aber nicht 17.
PCRE (PHP <7.3)
no description available
Submitted by
ArSn
-
10 years ago
1
marcoo_regex01
ECMAScript (JavaScript)
no description available
Submitted by
Peter Å ulek
-
10 years ago
1
Test
PCRE (PHP <7.3)
PO BOX
Submitted by
anonymous
-
10 years ago
1
Test
PCRE (PHP <7.3)
Test
Submitted by
Test
-
10 years ago
1
ACL de tiempos en squidGuard
Python
Extrae las ALC de tiempos del archivos de configuración de squidGuard
Submitted by
VTacius
-
10 years ago
1
requirements
Python
Requirements format that needs to be parsed.
Submitted by
drobati
-
10 years ago
1
Nth match
PCRE (PHP <7.3)
Matches the nth five digit number
Submitted by
anonymous
-
10 years ago
1
grub options matching
PCRE (PHP <7.3)
Trying to match grub options in capture groups, some of which are known
Submitted by
cnf
-
10 years ago
1
Find all drives not the primary logical
PCRE (PHP <7.3)
no description available
Submitted by
Cm
-
10 years ago
1
CAS error regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Extract google fonts key, value, options
PCRE (PHP <7.3)
This regular expression is used to extract google font information from the embeded url
Submitted by
anonymous
-
10 years ago
1
Match date from calendar as string
PCRE (PHP <7.3)
Match date from calendar as string
Submitted by
anonymous
-
10 years ago
1
...
70
71
72
73
74
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
preg_replace
(
'!
\s
+
!',
'
',
$
s
)
/
gm
Open regex in editor
Description
/preg_replace('!\s+!', ' ', $s)/gm
Submitted by
anonymous
-
2 years ago