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,040 community submitted regex patterns...
1
Basic email validation
PCRE (PHP <7.3)
A basic and rude email validation
Submitted by
Yemolai
-
9 years ago
1
Ebay item id from URL
PCRE (PHP <7.3)
no description available
Submitted by
Nanodev Limited
-
9 years ago
1
US Ham Radio licenses
ECMAScript (JavaScript)
no description available
Submitted by
Joshua Carroll
-
9 years ago
1
Matching comma separated with pattern
PCRE (PHP <7.3)
Matching comma separated fields with pattern
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
umesh
-
9 years ago
1
TFS Forbidden Pattern web.config file Check-In Policy
PCRE (PHP <7.3)
TFS Forbidden Pattern web.config file Check-In Policy
Submitted by
Riaan de Lange
-
9 years ago
1
filter range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Keyboard key parser
PCRE (PHP <7.3)
Parse Keyboard keys from string Like ctrl+a matches ctrl and a in one group This supports complex strings
Submitted by
Jérémy Munsch <jeremy.munsch@gmail.com>
-
9 years ago
1
translates regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
lookahead (and)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Belgian phone number
ECMAScript (JavaScript)
Validate belgian common phone numbers (simple landline and mobile only, no special/free/premium numbers)
Submitted by
Marty
-
9 years ago
1
Email ID
ECMAScript (JavaScript)
Full Validation of Email ID
Submitted by
Eric Abraham
-
9 years ago
1
Primeros N Caracteres
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Extract AWS accountId from user arn
ECMAScript (JavaScript)
Extract AWS accountId from user arn given by get-user action
Submitted by
AlexanderC
-
9 years ago
1
namedQueryPattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ICD-10-PCS
ECMAScript (JavaScript)
ICD-10-PCS Procedure code
Submitted by
anonymous
-
9 years ago
1
ICD-10-CM
ECMAScript (JavaScript)
ICD-10-CM Diagnosis Codes
Submitted by
anonymous
-
9 years ago
1
iso 8601
ECMAScript (JavaScript)
no description available
Submitted by
phyng
-
9 years ago
1
comment separator
PCRE (PHP <7.3)
works fine for // and -- but has issue with multi line comment(/**/)
Submitted by
anonymous
-
9 years ago
1
PolicyNumber
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
462
463
464
465
466
...
652
URL matching
0
Regular Expression
PCRE (PHP <7.3)
/
(?<protocol>
(?:
http
|
ftp
|
irc
)
s
?
:
\/\/
)?
(?:
(?<user>
[^
:
\n\r
]
+
)
:
(?<pass>
[^
@
\n\r
]
+
)
@
)?
(?<host>
(?:
www
\.
)?
(?:
[^
:
\/
\n\r
]
+
)
(?:
:
(?<port>
\d
+
)
)?
)
\/
?
(?<request>
[^
?#
\n\r
]
+
)?
\?
?
(?<query>
[^
#
\n\r
]
*
)?
\#
?
(?<anchor>
[^
\n\r
]
*
)?
/
gmx
Open regex in editor
Description
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
10 years ago