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 13,740 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GEDCOM parsing experiment
PCRE (PHP <7.3)
no description available
Submitted by
Hatch
-
7 years ago
2017-04-10 03:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
flight number
PCRE (PHP <7.3)
recognize a flight number define in wikipedia and capture carrier code and flight number. source
Submitted by
anonymous
-
7 years ago
2017-04-10 02:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CSS - match syntax (experimental)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 20:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches start tag with specific attribute
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches start tag with specific attribute
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches specific HTML tag pair including attributes in the tags.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches close part of specific tag pair
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches start tag of specific tag including attibutes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match all start tags including attributes in the tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches all HTML tags pairs including attributes in the tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches specific tag pairs and content between them
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GEDCOM parsing experiment
PCRE (PHP <7.3)
no description available
Submitted by
Hatch
-
7 years ago
2017-04-09 06:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regionName
PCRE (PHP <7.3)
regular expression to allow spaces between words - pcre and jc flavor
Submitted by
anonymous
-
7 years ago
2017-04-07 09:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Apple brand names
PCRE (PHP <7.3)
try names like iMac iPad iDays AppleCare MacBook Pro...
Submitted by
Jean Luc Emmanuel VERHANNEMAN
-
7 years ago
2017-04-06 19:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Custom Url Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-05 20:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Return XML tag where attribute value equals X
PCRE (PHP <7.3)
Return XML tag where attribute value equals X
Submitted by
anonymous
-
7 years ago
2017-04-05 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CsString.format []
PCRE (PHP <7.3)
CsString.format []
Submitted by
anonymous
-
7 years ago
2017-04-05 12:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GEDCOM 1.1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-05 05:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GEDCOM
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-05 04:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Keep only the code characters
PCRE (PHP <7.3)
Strips out all alphanumeric characters from your code and leaves you with only the code characters.
Submitted by
Tim van Steenbergen
-
7 years ago
2017-04-04 11:06
1
...
450
451
452
453
454
455
456
...
687
valid domain format
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
.
+
\.
.
{2,}
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2017-03-02 07:54