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...
1
Simple first exercise of a newbie
ECMAScript (JavaScript)
Find a group of 9 letters subdivided in groups of three by a dash.
Submitted by
Nicola Jelmorini
-
10 years ago
1
replace only inner text without tag element
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
Temp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Cross-Platform Simple Email Validator
PCRE (PHP <7.3)
Not perfect, but solid and cross platform
Submitted by
anonymous
-
10 years ago
1
celular com CSP e SEM CSP
PCRE (PHP <7.3)
no description available
Submitted by
Marcos Müller
-
10 years ago
1
Files with numbers greater than 1950
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
indentation
Python
no description available
Submitted by
z
-
10 years ago
(Last modified a year ago)
1
youtube id watch embed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
(|(ou:dn:=a)(ou:dn:=b))
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
кааа
PCRE (PHP <7.3)
ввв
Submitted by
в
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
Guckst du!
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
hs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
i want regex for for following string"abcabcabcabc,*,123412341234"
PCRE (PHP <7.3)
i want regex it should support 12 length character comma seperated string and also it sholud accept multiple "*" init .like above
Submitted by
mahesh
-
10 years ago
1
Borderlands PC Shift Codes
PCRE (PHP <7.3)
Matches PC Shift Codes for borderlands 2 & Pre Sequel Capturing group 1 for complete code only
Submitted by
jymannob
-
10 years ago
1
S3 Access Log Analyzer
ECMAScript (JavaScript)
A javascript regex for parsing an S3 log line.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
1
/The.+Knick.+1x.+720p.+/i
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
zohar look
PCRE (PHP <7.3)
for 8 tracks
Submitted by
avner
-
10 years ago
1
kewai
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Links in Markup
PCRE (PHP <7.3)
Find Links in HTML Markup
Submitted by
someone
-
10 years ago
1
...
583
584
585
586
587
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<Loop>
(?<NewBlock>
(?:
(?:
^
[
\s
]
*
\n
|
^
(?:(?!
\/\*
)
.
)+
\n
|
^
(?:(?!
\/\*
)
.
)+
)
)+
)?
(?<OldBlock>
(?:
\/\*
.
+
\*\/
|
(?:
\/\*
.
*
\n
)
(?:(?:
^
[
\s
]
*
\n
|
^
(?:(?!
\*\/
)
.
)+
\n
|
^
(?:(?!
\*\/
)
.
)+
))+
\*\/
)
)?
)+
/
gmx
Open regex in editor
Description
Real Shit
forgot why I started making this midway thru
Submitted by
anonymous
-
5 years ago