Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,480 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
13/11/2019
PCRE (PHP <7.3)
Almost ready!!!
Submitted by
anonymous
-
4 years ago
2019-11-13 07:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Even better UK postcode regex
PCRE (PHP <7.3)
includes mandatory whitespace for UK postcodes credit goes to the original version, this is improved with mandatory whitespace.
Submitted by
anonymous
-
4 years ago
2019-11-14 14:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sport Match result
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-14 15:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
FOREACH
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-16 09:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Oracle Create Table
PCRE (PHP <7.3)
Oracle Create Table
Submitted by
anonymous
-
4 years ago
2019-11-16 12:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bootstrap Class 'col-*-*' replace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-16 17:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
family search link
PCRE (PHP <7.3)
get from interactive-container svg
Submitted by
anonymous
-
4 years ago
2019-11-16 20:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-17 12:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove space at end of string
PCRE (PHP <7.3)
removes trailing spaces
Submitted by
anonymous
-
4 years ago
2019-11-18 08:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Die alte Schreibnorm der Telefonnummer
PCRE (PHP <7.3)
Für die Konvertierung in die neue Norm
Submitted by
anonymous
-
4 years ago
2019-11-18 09:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TV Show Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 20:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Address Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-18 15:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract parts from EDIR naming convention
PCRE (PHP <7.3)
^([A-Z]{4})\-([A-Z]{3})\-([A-Z]{1,7})\-([A-Z]{4})\-(\d{3})$ ^([A-Z]{4})\-([A-Z]{3})\-([A-Z]{1,7})\-([A-Z]{4})\-(\d{3})\([A-Z]{1})\([[:alnum:]])([[:alnum:]]{3})\_([[:alnum:]])([[:alnum:]]{3})$
Submitted by
anonymous
-
4 years ago
2019-11-29 13:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check is an equal exist and extract the value
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-19 21:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lookaheads example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 14:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ruby needs replacing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 15:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Do not match url ending With
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Europe - Portugal - - Passport Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 20:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Europe - Poland - - Passport Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 20:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Europe - Italy - - Passport Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-11-20 20:15
1
...
522
523
524
525
526
527
528
...
574
Cisco ASA
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
%
(
ASA
|
PIX
|
FWSM
)
-
\w
+
-
\d
+
-
(
\d
+
)
:
.
*
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-06-29 12:57