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
regex test
PCRE (PHP <7.3)
testing the string abc xyx 12 13 a a b
Submitted by
Alien Coders
-
10 years ago
(Last modified a year ago)
2
Li match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Replace text domain in WP i18n
PCRE (PHP <7.3)
This will find all instances where the WP i18n function __() is used, and change the text domain to something else. This will recognize instances of the function use as separate, even if they appear in the same function
Submitted by
Xedin Unknown
-
10 years ago
2
SO “00000000000000000000000000000†is match to Regex “^[1-9]|0$†in .N
PCRE (PHP <7.3)
Test regex for question.
Submitted by
pwas
-
10 years ago
-2
valid windows file name
ECMAScript (JavaScript)
no description available
Submitted by
Mitacha
-
10 years ago
2
log trillian
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
2
PAN verification regex
PCRE (PHP <7.3)
Regex to verify PAN in India
Submitted by
Anirban
-
10 years ago
-2
link
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
0
Hostname-Match not found
PCRE (PHP <7.3)
I'm trying to match a hostname input with the following properties: a-z A-Z 0-9 : - are allowed ; doesnot start or end with - ; "." can be used to separate different labels of the hostname. But gives no match for this regex: ^(a-zA-Z0-9|(?<!-)\.(?![-.]))[a-zA-Z0-9]+)?)$ ...
Submitted by
Revathy
-
10 years ago
1
unity3d.com csharp lint regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
nginx log parser
Python
separate nginx log into database table-style fields
Submitted by
wgzhao
-
10 years ago
0
Domain Name .CZ - only 2th level format
PCRE (PHP <7.3)
Valid only for something.cz, some-thing.cz, 2245exampl.cz ... Not-valid for -some.cz, here.com.cz ...
Submitted by
Pavel Ondřej
-
10 years ago
1
RFC 5322 email validation
PCRE (PHP <7.3)
Unsatisfied with your email validation? Concerned about standards compliance? Worried about that one weird edge case? Want to stress-test your regex engine? This might be the regex for you!
Submitted by
Blake Thomas
-
10 years ago
0
GlobalRange-phone-fax
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
e164_basic
ECMAScript (JavaScript)
e164_basic
Submitted by
anonymous
-
10 years ago
0
test
Python
no description available
Submitted by
anonymous
-
10 years ago
1
ECMAScript (JavaScript)
Submitted by
-
10 years ago
1
f
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-1
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Get version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
40
41
42
43
44
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
A
-
Za
-
z0
-
9
\s
-
]
+
$
/
Open regex in editor
Description
regex that allows digits, space and hyphen
Submitted by
Animesh
-
a year ago