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 9,320 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
6 months ago
2023-05-23 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
6 months ago
2023-05-26 15:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
for killerswim
.NET (C#)
a
Submitted by
anonymous
-
6 months ago
2023-05-29 23:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Youtube Video Id
.NET (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
6 months ago
2023-06-05 02:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
jiggl
PCRE (PHP <7.3)
toggl track to jira
Submitted by
anonymous
-
6 months ago
2023-06-07 10:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Validation
.NET (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
6 months ago
2023-06-09 06:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel-Case Splitter (preserves Acronyms)
.NET (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
5 months ago
2023-06-26 18:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
whois
PCRE (PHP <7.3)
whois find param
Submitted by
anonymous
-
5 months ago
2023-07-06 15:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tracking Number Recognition and Parsing
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
5 months ago
2023-07-12 16:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Additional
PCRE (PHP <7.3)
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
5 months ago
2023-07-13 07:57
(Last modified 5 months ago)
2023-07-19 09:43
-3
0 upvotes, 3 downvotes (score 0%) (You must be signed in to vote)
Xml parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. Apply same pattern on capture group #3 (using recursion) to parse entire xml! Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
2016-05-19 22:25
-3
0 upvotes, 3 downvotes (score 0%) (You must be signed in to vote)
Xml Parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
2016-05-19 22:47
-3
0 upvotes, 3 downvotes (score 0%) (You must be signed in to vote)
Xml Parser!
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
2016-05-19 23:00
-3
0 upvotes, 3 downvotes (score 0%) (You must be signed in to vote)
iOS.Strings
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-23 15:27
-3
0 upvotes, 3 downvotes (score 0%) (You must be signed in to vote)
XmlnsDefinition
PCRE (PHP <7.3)
Get ClrNamespace and optional AssemblyName from XmlnsDefinition in xaml
Submitted by
Ivanov Anton
-
8 years ago
2016-02-19 14:53
1
...
463
464
465
466
Email validation
18
119 upvotes, 101 downvotes (score 47.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
a
-
z0
-
9_
\.
-
]
+
\@
[
\d
a
-
z
\.
-
]
+
\.
[
a
-
z
\.
]
{2,6}
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
tutsplus.com
-
9 years ago
2014-09-16 13:45