Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
灾难性回溯
可以考虑正前瞻来解决 ^(?=([0-9]+))\1*$
Submitted by
anonymous
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
GridTracker Call Roster Filter
GridTracker Call Roster Filter finds WSJT-X Single-Period Decodes messages containing CQ, 73, or RR73 (not within callsigns or grid squares). The filtered results can then be responded to immediately.
Submitted by
WB6UNG
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
First and Last name with unicode
regex with unicode
Submitted by
anonymous
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
URL parser
For parsing URLs
Submitted by
krashr-ds
-
2 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Link markdown with title text
Simple link mardown detection with a title text
Submitted by
Olpouin
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
.mks
.mks
Submitted by
anonymous
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
.ass
.ass
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
xxx-xxx-xxxx
☎️
Submitted by
codefinity
-
2 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Email
This is a bit simpler version that is still quite robust. It was taken from a Formik example.
Submitted by
codefinity
-
2 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
National Insurance Number regular expression
This regular expression is build from the description of NINO number of GOV.UK,
Submitted by
Iftakhar Husan
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Selector Trim Matcher (jQuery)
The regular expression used in the jQuery library to match characters that should be trimmed from selector strings.
Submitted by
Ben
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Were Wolf Emoji
Were Wolf Bet Emj
Submitted by
anonymous
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
regex CEP
/[0-9]{2}(\.|\s)?[0-9]{3}(\.|\s)?[0-9]{2}\n/gm
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
E.164 ITU Telephony Standard including Extensions
Basic RegEx to catch ITU E.164 Formatted Telephone Numbers. Must include leading '+', first digit cannot be a zero, no other non-numeric characters -- with (optional) exception of Extensions denoted by ";ext=" and between 3 and 6 digits in the extension (adjust max to suit organization)
Submitted by
ADWolf
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
words without special characters and allow words to be separated by a dash sign
This regular expression checks for below rules: Must not have special characters except a dash sign Must not start with a dash sign or white space Must not end with a dash sign or white space Must not have a dash sign or white space in sequence
Submitted by
Vijay sasvadiya
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
OhArthit
ผลิตภัณฑ์ส่งเสริมการขาย
Submitted by
anonymous
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Open ach
8k realese
Submitted by
Cache
-
2 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Url
Port https://regex101.com/library/cX0pJ8 to PCRE2 (PHP >= 7.3)
Submitted by
semivori
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Email
to validate email
Submitted by
anonymous
-
2 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Discord role/ping/channel catcher
This regex will match when people ping someone or ping a group it will also match when people mention a channel for non-channel catching type use ``
Submitted by
The Detenator#4604
-
2 years ago
1
...
126
127
128
129
130
131
132
...
273
ChristEl
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
^\d
{2}
.\d
{2}
.\d
{4}
\s\d
{2}
:
\d
{2}
:
\d
{2}
;
(
\d
{1,3}
,
\d
)
;
(
\d
{1,3}
,
\d
)
;
(
\d
{1,3}
,
\d
)
;
(
\d
{3}
,
\d
)
;
(
\d
{1,2}
,
\d
{3}
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
\d
)
;
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Jan Alexander
- 2 years ago