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 13,720 community submitted regex patterns...
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
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
0
test
Python
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
Brazilian phone numbers
Python
no description available
Submitted by
rafaelverger
-
10 years ago
1
Date range match
PCRE (PHP <7.3)
This is not my creation, it is from a github repor
Submitted by
Saji N
-
10 years ago
2
donotbackup
PCRE (PHP <7.3)
finding directories w/ donotbackup
Submitted by
anonymous
-
10 years ago
2
Finding a string along with a few other words
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
0
Search string parser (PHP).
PCRE (PHP <7.3)
A simple regexp to parse a search string. It will split the search string into an array of search terms. Each search term will be represented by an array containing 3 strings: ...
Submitted by
@bananascript
-
10 years ago
1
url regex
Python
no description available
Submitted by
catwooman
-
10 years ago
-2
five word capture
Python
no description available
Submitted by
anonymous
-
10 years ago
1
...
27
28
29
30
31
...
686
Number
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
+-
]
?
(
(
\d
+
(
\.
\d
*
)?
)
|
(
\.
\d
+
)
)
)
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago