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,660 community submitted regex patterns...
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
8 years ago
2015-09-10 17:00
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Facebook profile URL pattern
PCRE (PHP <7.3)
Pattern that check your string to match Facebook user profile URL.
Submitted by
JSC Quatrodev
-
8 years ago
2015-09-10 16:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
TimeRegex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-10 15:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-10 12:12
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Password regex
PCRE (PHP <7.3)
Password pattern looking for strength. Between 8 and 16 characters. At least: 1 UpperCase. 1 LowerCase. 1 SpecialCase. 1 Number
Submitted by
morethansimplycode.blogspot.com.es
-
8 years ago
2015-09-10 11:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Id Validity Checker
PCRE (PHP <7.3)
Checks whether given text is valid Email Id,check for top level domains which are 2-3 in length,does not accept numbers for top level domains
Submitted by
Debanjan Das
-
8 years ago
2015-09-10 09:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ip (CIDR) check
PCRE (PHP <7.3)
from 0.0.0.0 to 255.255.255.255
Submitted by
Marcel Bayer
-
8 years ago
2015-09-10 08:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
turkish translations
PCRE (PHP <7.3)
regex to allow unicode chars & digits in config values
Submitted by
scopevale
-
8 years ago
2015-09-10 07:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate Semantic version numbering
PCRE (PHP <7.3)
This validates version numbers that adhear to the Semantic protocol e.g. in form of xx.xx.xx or 1.2.2
Submitted by
Al
-
8 years ago
2015-09-10 00:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TLD Scratch tapes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-09 21:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
body tag extract
PCRE (PHP <7.3)
no description available
Submitted by
Girish
-
8 years ago
2015-09-09 01:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SAS Boundaries version 3
PCRE (PHP <7.3)
Basic sas boundaries, %macro proc %include etc
Submitted by
Leo Lopes
-
8 years ago
2015-09-08 19:48
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Select or locate the last underscore (or dot, etc) in a string
PCRE (PHP <7.3)
This string can help you locate/select the last underscore in a string
Submitted by
Hao
-
8 years ago
2015-09-08 19:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL parser RegEx
PCRE (PHP <7.3)
Parse full URL and find parts
Submitted by
Dakr Coder
-
8 years ago
2015-09-08 19:11
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
most sas boundaries
PCRE (PHP <7.3)
Picks up %macro, %inc, data step, and proc boundaries.
Submitted by
Leo Lopes
-
8 years ago
2015-09-08 15:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Most SAS boundaries
PCRE (PHP <7.3)
Picks up %macro, %inc, data step, and proc boundaries.
Submitted by
Leo Lopes
-
8 years ago
2015-09-08 15:10
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
starts with abc, has 123 and ends with xyz
PCRE (PHP <7.3)
#starts with abc, has 123 and ends with xyz abc123xyz
Submitted by
Kifah
-
8 years ago
2015-09-08 10:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Extract all XML attribute names
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects all attributes, having or not having values. Includes the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovskyi
-
8 years ago
2015-09-08 09:28
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
8 years ago
2015-09-08 09:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Companies Registration Number
PCRE (PHP <7.3)
Checks that the number and optional prefix submitted are in a valid UK Companies House format.
Submitted by
Steve Haworth
-
8 years ago
2015-09-08 09:07
1
...
517
518
519
520
521
522
523
...
583
C2D: Outbound_id
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
random
|
(
0
|
27
)
\d
{9}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
EnigmaSoft
-
8 years ago
2015-08-19 15:02