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,000 community submitted regex patterns...
1
URL supporting ports, GET params and js routing
PCRE (PHP <7.3)
(http(s)?:\/\/) // http:// or https:// (([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0]*)?)(\/?| // basic url f.e. www.wp.pl with obligatory / at end ...
Submitted by
Rafał Rowiński
-
9 years ago
1
Get Content within brackets
PCRE (PHP <7.3)
Get Content within brackets
Submitted by
anonymous
-
9 years ago
0
Valmaks_name_replace_222
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
9 years ago
1
Israeli Phone Number
PCRE (PHP <7.3)
Validate Israeli common phone numbers (simple landline and mobile only, no special / free / premium numbers)
Submitted by
uda
-
9 years ago
1
URL validator with tests
PCRE (PHP <7.3)
inspired by https://mathiasbynens.be/demo/url-regex and the pattern from @imme_emosol
Submitted by
Elmervc
-
9 years ago
1
Match initials
Python
Match initials of a person name
Submitted by
anonymous
-
9 years ago
1
tag replace
PCRE (PHP <7.3)
no description available
Submitted by
Lexx918
-
9 years ago
1
Regexp for mediawiki
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Originale
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
date regex
ECMAScript (JavaScript)
match dd-mm-yyyy
Submitted by
anonymous
-
9 years ago
0
parse velocity variables
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Timestamp from json
PCRE (PHP <7.3)
no description available
Submitted by
Thomas Khalil
-
9 years ago
1
Phone Number (msisdn) filter
PCRE (PHP <7.3)
MSISDN filter. Should match worldwide phone numbers. It doesn't work for numbers with dashes, so just replace them with empty strings, or edit as you wish.
Submitted by
maricn
-
9 years ago
1
Secure HTTP Header: Public-Key-Pins
PCRE (PHP <7.3)
Check if HTTP Header of Public-Key-Pins has all nessery values for highest security
Submitted by
Nils Werner
-
9 years ago
0
secure http header: cache-control
PCRE (PHP <7.3)
Check if HTTP Header of Cache-Control has all nessery values for highest security
Submitted by
Nils Werner
-
9 years ago
0
ASP.NET Web Forms dates in JSON
ECMAScript (JavaScript)
Look for date objects in JSON returned from ASP.NET Web Forms.
Submitted by
anonymous
-
9 years ago
1
sdf
PCRE (PHP <7.3)
f
Submitted by
f
-
9 years ago
1
barcode or barcode list
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Help
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Find Single Instance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
118
119
120
121
122
...
900
Community Library Entry
0
Regular Expression
Java 8
"
^
-
?
\d
{0,6}
(
\.
\d
{1,2}
)?
$
"
gm
Open regex in editor
Description
For two digits in regex in decimal places two and allow two digits before that point decimal
Submitted by
anonymous
-
2 years ago