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,160 community submitted regex patterns...
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
-
8 years ago
0
DateTime YYYYMMDDhhmmss (with leap year)
PCRE (PHP <7.3)
Validates DateTime of format YYYYMMDDhhmmss including Leap Year
Submitted by
Alex
-
8 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
-
8 years ago
1
find all between curved bracets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Finding Orphaned SIDs
PCRE (PHP <7.3)
Regex to find orphaned SIDs within the active directory database.
Submitted by
anonymous
-
8 years ago
1
VehicleNumber
PCRE (PHP <7.3)
Local Indian Vehicle Number
Submitted by
anonymous
-
8 years ago
1
LJ Poll simple result parser
PCRE (PHP <7.3)
Simple parser for LiveJournal poll results.
Submitted by
dimio
-
8 years ago
2
Wordpress Plugins Readme Parse Youtube
PCRE (PHP <7.3)
Wordpress Plugins Readme Parse Youtube
Submitted by
onigetoc
-
8 years ago
1
Comments in code?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
permalinks
PCRE (PHP <7.3)
skip if the url is a permalink
Submitted by
andreasonny83@gmail.com
-
8 years ago
2
imdb id
PCRE (PHP <7.3)
imdb
Submitted by
little badger
-
8 years ago
1
email for .com & .co.in
ECMAScript (JavaScript)
email validation
Submitted by
Chanti
-
8 years ago
1
HP3ParShowVVLineParse
PCRE (PHP <7.3)
parses the ssh output of a 3par SSH showvv command
Submitted by
3nbin
-
8 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
-
8 years ago
2
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Instagram Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
billions and billions of $$$
PCRE (PHP <7.3)
optional commas with 2 digit cents
Submitted by
bob
-
8 years ago
1
camelCase to hyphen-case
ECMAScript (JavaScript)
Note that title case (TitleCase) will have leading hypens (-title-case)
Submitted by
cyberbit
-
8 years ago
0
letters and _- followed by _000999
PCRE (PHP <7.3)
no description available
Submitted by
Pizzirani Andrea - Italy
-
8 years ago
1
sample
PCRE (PHP <7.3)
sample regression
Submitted by
anonymous
-
8 years ago
1
...
631
632
633
634
635
...
758
celular com CSP e SEM CSP
1
Regular Expression
PCRE (PHP <7.3)
/
^
0
(
[
1
-
9
]
{2}
)
(
[
1
-
9
]
{2}
)
(
[
2
-
3
]
{1}
)
(
[
0
-
9
]
{3}
)
(
[
0
-
9
]
{4}
)
$
|
(
[
1
-
9
]
{2}
)
(
[
8
-
9
]
{1}
)
(
[
0
-
9
]
{3}
)
(
[
0
-
9
]
{4}
)
$
/
Open regex in editor
Description
no description available
Submitted by
Marcos Müller
-
10 years ago