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
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
python
test
d
Submitted by
anonymous
-
2 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
Mr Abdul Alim (m2a)
Hi. My name is Mr. Abdul Alim (m2a) in Bangladesh from district. Sirajgonj contract number (+8801882650050 htttps://www.example.com my property
Submitted by
mr abdul alim talukder
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
bl_regex_fees_types_2
guif
Submitted by
guif
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
Twitter Tweet URL
This ensures that a link to tweet strictly matches
Submitted by
anonymous
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
Convert numbers-only YYYYMMDD date to dash delineated YYYY-MM-DD
Submitted by
anonymous
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
1
1
Submitted by
anonymous
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
213
12312
Submitted by
anonymous
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
slug numeric
pattern to validate a slug with numbers
Submitted by
mestri.rodrigo
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
is
Hi it is me
Submitted by
anonymous
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
Match Consonants
Use regex to test whether a letter is a consonant or not. Use /[B-DF-HJ-NP-TV-Z]/ for capitals.
Submitted by
Matthew Hiebing
-
a year ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre2
Bluerose order-code
order-code 20220623-19563352 20220623-18261367 20220606-15484894 20220606-15484 20220606...
Submitted by
anonymous
-
10 months ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)
Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)
Submitted by
anonymous
-
10 months ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
python
Discord Mention
Regex to check if a string is a discord mention
Submitted by
anonymous
-
8 months ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
phone number to match all cases of phone number all over the world
i.e: (555)555-5555 (OK) 5555555555 (ok) 555.555.5555 (ok) 55555555556 (ok) +184 (555)555-5555 (ok)...
Submitted by
Quoc Kenny Nguyen
-
7 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
Hurger
no description available
Submitted by
anonymous
-
7 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
unionWithToDate
no description available
Submitted by
anonymous
-
7 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
python
Bluecoat Upstream ipv4-2
Log: Bluecoat Event Type: Upstream Ref to Json: "Sources/Bluecoat/ipv4-2
Submitted by
anonymous
-
7 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
IPv4 Advanced
no description available
Submitted by
Abdullah Pazarbasi
-
7 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
Cock Regex Checker
no description available
Submitted by
anonymous
-
6 years ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
Extract AppleScript Handler Info: Name, Parameters, Tags, Comments
no description available
Submitted by
anonymous
-
6 years ago
1
...
673
674
675
676
677
678
679
...
686
IPv4
Vote
16
29 upvotes, 13 downvotes (69% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
0
-
1
]
?
\d
{1,2}
)
(?:
\.
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
0
-
1
]
?
\d
{1,2}
)
){3}
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
robwa
- 7 years ago