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 15,280 community submitted regex patterns...
1
Prime times a letter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Optimized regex for SO question
PCRE (PHP <7.3)
http://stackoverflow.com/questions/34674917/is-regex-a-costly-operation-it-seems-atleast
Submitted by
anonymous
-
8 years ago
1
Optimized regex for SO question
PCRE (PHP <7.3)
http://stackoverflow.com/questions/34674917/is-regex-a-costly-operation-it-seems-atleast
Submitted by
anonymous
-
8 years ago
1
Phone # Match
ECMAScript (JavaScript)
Matches phone #s (aaa) bbb-cccc aaa bbb cccc aaabbbcccc and such.
Submitted by
Zach
-
8 years ago
1
function not prefixed
PCRE (PHP <7.3)
no description available
Submitted by
Zack
-
8 years ago
1
TTML timestamp with ms
PCRE (PHP <7.3)
no description available
Submitted by
ovvland
-
8 years ago
1
TTML timestamp with frames
PCRE (PHP <7.3)
no description available
Submitted by
ovvland
-
8 years ago
1
Isralie Phone Number Validator
PCRE (PHP <7.3)
Validates Israeli phone numbers. Accounts for the presence/absence of the 972 country code (with or without the plus sign or parentheses), and the proper formatting of area codes based on the presence/absence of the country code. Allows subdivision using spaces, dashes, periods, or no subdivision.
Submitted by
Michael C.
-
8 years ago
1
Check for missing closing bracket
PCRE (PHP <7.3)
no description available
Submitted by
Bastin Geerts
-
8 years ago
1
reprocess
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Время
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Telephone number
PCRE (PHP <7.3)
Use for Ukraine cities telephon number (not mobile). Example: 0442565656 (044)1565656 (05656)156-56-56 156-56-56
Submitted by
anonymous
-
8 years ago
1
Spring boot log parser
PCRE (PHP <7.3)
no description available
Submitted by
geowarin
-
8 years ago
1
SafeStep Thank You
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Quoted string, single scape
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
remove ordinals
PCRE (PHP <7.3)
a robust pattern to remove ordinal suffixes from numbers, eg. '22nd'->'22' supports: singles: 1st, 2nd, 3rd, 4th teens: 11th, 12th, 13th, 14th
Submitted by
missinglink
-
8 years ago
1
csgo knifes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
reg ex for http
ECMAScript (JavaScript)
https
Submitted by
anonymous
-
8 years ago
1
fortigate_60B
PCRE (PHP <7.3)
parse the log line generated by fortigate 60B
Submitted by
ViKing
-
8 years ago
1
ogn-receiver-beacon
PCRE (PHP <7.3)
Parse ogn-flavored aprs messages, here especially receiver beacons. source: https://github.com/svoop/ogn_client-ruby
Submitted by
anonymous
-
8 years ago
1
...
552
553
554
555
556
...
764
Improved RegEx101 ID Grabber
0
Regular Expression
PCRE (PHP <7.3)
/
#
Match
the
beginning
of
the
string.
^
#
Match
the
HTTP(S)
domain
and
path
of
re101.
https
?
:
\/
{2}
regex101
\.
com
\/
r
\/
#
Capture
the
unique
ID.
(?<id>
[
a
-
z
\d
]
{1,6}
)
#
Capture
the
revision.
(?:
\/
(?<rev>
\d
+
)
)?
#
Do
not
care
about
anything
else...
/
gimx
Open regex in editor
Description
Grabs the ID and revision from the URL.
Submitted by
RF
-
9 years ago