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 2,660 community submitted regex patterns...
0
Validar Nombres
PCRE2 (PHP >=7.3)
Sin espacio al inicio o fin, sin caracteres especiales
Submitted by
Brahian Torres
-
a year ago
(Last modified a year ago)
0
Validar identificación
PCRE2 (PHP >=7.3)
Solo se admiten numeros, sin espacios al inicio o fin
Submitted by
anonymous
-
a year ago
0
Search for URL
PCRE2 (PHP >=7.3)
Searches the string for valid URLs. Includes HTTP, HTTPS, and localhost with it's port.
Submitted by
Evan Wilson
-
a year ago
0
SSN Finder
PCRE2 (PHP >=7.3)
([0-7]\d{2}(" "|-|\.)?\d{2}(?(2)(" "|-|\.))\d{4}) Finds the first number as 0-7 then matches the next two digits Will check what delimitator (group 2) if any is used finds two digits if a delimitator is used - if it is then use one here, if not then don't (prevents US based zip code + 4 from getti...
Submitted by
ACCS
-
a year ago
0
Telephone
PCRE2 (PHP >=7.3)
\+7\s\(\d{3}\)\s\d{3}\s\d{2}\-\d{2}
Submitted by
anonymous
-
a year ago
0
UTC+
PCRE2 (PHP >=7.3)
Match {space}UTC+{number}
Submitted by
yedrup
-
a year ago
0
bs-icons
PCRE2 (PHP >=7.3)
dwa
Submitted by
anonymous
-
a year ago
0
Σ = {0, 1}. Cadenas de longitud impar ≥ 3 formadas por ceros y unos alternados.
PCRE2 (PHP >=7.3)
Cadenas de longitud impar ≥ 3 formadas por ceros y unos alternados.
Submitted by
JCMM
-
a year ago
0
log filter 01
PCRE2 (PHP >=7.3)
expression for removing unnecessary information
Submitted by
ndeans
-
a year ago
0
Device_name
PCRE2 (PHP >=7.3)
doesn't process road warrior or dubi location dubii missing interface?
Submitted by
Keith
-
a year ago
0
my_device_usage
PCRE2 (PHP >=7.3)
usage
Submitted by
Keith
-
a year ago
0
Regex for matching French Phone Numbers
PCRE2 (PHP >=7.3)
This is an expression that will match French Phone numbers You can modify this expression to help you match your needs.
Submitted by
anonymous
-
a year ago
0
PAN Number (India)
PCRE2 (PHP >=7.3)
Format of PAN Number (issued in India)
Submitted by
anonymous
-
a year ago
0
URL filter out of a shell script file, inc URLs with ";"
PCRE2 (PHP >=7.3)
URL filter out of a shell script file, inc URLs with ";" in the POST part
Submitted by
MaxPeal
-
a year ago
0
Get Filename from Content-Disposition Header
PCRE2 (PHP >=7.3)
Extract Download Filename from Content-Disposition Header
Submitted by
thegass
-
a year ago
0
email
PCRE2 (PHP >=7.3)
validate email
Submitted by
anonymous
-
a year ago
0
Find valid SAS names
PCRE2 (PHP >=7.3)
https://www.sfu.ca/sasdoc/sashtml/lrcon/z0998953.htm#z0998951
Submitted by
ABANTR
-
a year ago
0
CSS Class Styles
PCRE2 (PHP >=7.3)
Regex to find CSS Class Styles
Submitted by
JR
-
a year ago
0
GST (India)
PCRE2 (PHP >=7.3)
Detects Indian GST numbers (Goods & Services Tax). Based on https://groww.in/p/tax/gstin
Submitted by
anonymous
-
a year ago
0
Method calls on PHP (static and not)
PCRE2 (PHP >=7.3)
Find ocurrences of method calls, static or not, on PHP.
Submitted by
Allyson
-
a year ago
1
...
119
120
121
122
123
...
133
URL parser
2
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
https
?
\:
)
\/\/
(
(
[^
:
\/
?#
]
*
)
(?:
\:
(
[
0
-
9
]
+
)
)?
)
(
[
\/
]
{0,1}
[^
?#
]
*
)
(
\?
[^
#
]
*
|)
(
#
.
*
|)
$
/
Open regex in editor
Description
The best way to parse URL via Regex. This can be used in javascript, PHP, etc.
Submitted by
Ivijan-Stefan Stipic
-
7 years ago
(Last modified a year ago)