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...
0
single line acronym
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Singapore Phone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
sample
PCRE (PHP <7.3)
sample regression
Submitted by
anonymous
-
9 years ago
0
letters and _- followed by _000999
PCRE (PHP <7.3)
no description available
Submitted by
Pizzirani Andrea - Italy
-
9 years ago
1
camelCase to hyphen-case
ECMAScript (JavaScript)
Note that title case (TitleCase) will have leading hypens (-title-case)
Submitted by
cyberbit
-
9 years ago
1
billions and billions of $$$
PCRE (PHP <7.3)
optional commas with 2 digit cents
Submitted by
bob
-
9 years ago
1
Instagram Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Parse .so libraries from binary file
ECMAScript (JavaScript)
Multi-occurance / Multiline Match and list all ".so" files from Android APK binary.
Submitted by
Mayur Pipaliya
-
9 years ago
1
HP3ParShowVVLineParse
PCRE (PHP <7.3)
parses the ssh output of a 3par SSH showvv command
Submitted by
3nbin
-
9 years ago
1
email for .com & .co.in
ECMAScript (JavaScript)
email validation
Submitted by
Chanti
-
9 years ago
1
Comments in code?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
LJ Poll simple result parser
PCRE (PHP <7.3)
Simple parser for LiveJournal poll results.
Submitted by
dimio
-
9 years ago
-1
emoticon
Python
no description available
Submitted by
Victor Huang
-
9 years ago
1
VehicleNumber
PCRE (PHP <7.3)
Local Indian Vehicle Number
Submitted by
anonymous
-
9 years ago
1
Finding Orphaned SIDs
PCRE (PHP <7.3)
Regex to find orphaned SIDs within the active directory database.
Submitted by
anonymous
-
9 years ago
1
find all between curved bracets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Extract Laravel 5 service providers content
PCRE (PHP <7.3)
In intend to dynamically add service providers in the app.php config file
Submitted by
Jonathan Bonnefoy
-
9 years ago
0
DateTime YYYYMMDDhhmmss (with leap year)
PCRE (PHP <7.3)
Validates DateTime of format YYYYMMDDhhmmss including Leap Year
Submitted by
Alex
-
9 years ago
1
Match all invalid PHP variable characters
PCRE (PHP <7.3)
This can be used in a preg_replace function to take any string value and strip all invalid characters to make a valid PHP variable
Submitted by
Deathnerd
-
9 years ago
1
Match empty tags pair
PCRE (PHP <7.3)
to find empty (or fill with space) tags pair ex matching : works with multiline
Submitted by
http://stackoverflow.com/a/34423418/381149
-
9 years ago
1
...
162
163
164
165
166
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
19
|
20
)
\d
{2}
-
(?:
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(?:
0
[
1
-
9
]
|
[
12
]
\d
|
3
[
01
]
)
T
(?:
[
01
]
\d
|
2
[
0
-
3
]
)
:
[
0
-
5
]
\d
:
[
0
-
5
]
\d
(?:
Z
|
-0
[
1
-
9
]
|
-1
\d
|
-2
[
0
-
3
]
|
-00:
?
(?:
0
[
1
-
9
]
|
[
1
-
5
]
\d
)
|
\+
[
01
]
\d
|
\+
2
[
0
-
3
]
)
(?:
|
:
?
[
0
-
5
]
\d
)
$
/
gm
Open regex in editor
Description
The RegExp validates ISO8601 date and time (without milliseconds) with timezone offset.
Submitted by
pioneer32
-
9 years ago