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 15,200 community submitted regex patterns...
1
Parse DocBlock tags
PCRE (PHP <7.3)
Parse DocBlock tags to name & value
Submitted by
Jaanus Heeringson
-
8 years ago
1
hjkkk
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
group german streetnames and streetnumbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
anchor from within html tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Negative Lookahead
PCRE (PHP <7.3)
Negative Lookahead Sample
Submitted by
TBU
-
8 years ago
1
Cascade ID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Search "contains" PHP conditions and replace
PCRE (PHP <7.3)
no description available
Submitted by
Jan Barasek
-
8 years ago
2
Eircode
PCRE (PHP <7.3)
Eircode validation for new postcodes identifiers in Republic of Ireland. Case-insensetive for easier user input. Added optional space separator to follow same pattern as in UK post codes and in examples used in eircode spec.
Submitted by
Arek Jaworski
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
IPv4 Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Abdullah Pazarbasi
-
8 years ago
2
IP Address
PCRE (PHP <7.3)
IPv4 Address Input
Submitted by
anonymous
-
8 years ago
1
q
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Trim whitespaces regex
PCRE (PHP <7.3)
this is trim-like regex
Submitted by
Giuseppe Tavella
-
8 years ago
1
Letters Only
PCRE (PHP <7.3)
It checks the string to be only letters with no spaces or any other char than a-z and A-z
Submitted by
anonymous
-
8 years ago
1
^((?!^City$)[a-zA-Z '])+$
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Username
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
CI-Bol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Create directories
PCRE (PHP <7.3)
Regex to make sure directories have a "real" name and not code use for scripting/
Submitted by
anonymous
-
8 years ago
1
X user Y response
PCRE (PHP <7.3)
grep logs with X username and Y response code
Submitted by
anonymous
-
8 years ago
1
Only valid if uppercase words (letters + space), minimum 1, maximum 21
ECMAScript (JavaScript)
"ASDF ASDF ASDF ASDF A" OK "ASDF ASDF ASDF ASDF AS" NOK "asfd ASDF ASDF ASDF" NOK "ASDF ASDF ASDF AsdF" NOK "ASDF ASDF ASDF A12F" NOK
Submitted by
Matthias G.
-
8 years ago
1
...
523
524
525
526
527
...
760
Jeny
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
[
a
-
zA
-
Z
]
+
+
(?:
[
\s
]
[
a
-
zA
-
Z
]
+
+
)?
|
[
а
-
Ñ
Ð
-
Я
]
+
+
(?:
[
\s
]
[
а
-
Ñ
Ð
-
Я
]
+
+
)?
)
/
g
Open regex in editor
Description
132
Submitted by
Renderlife
-
9 years ago