Regular
Expressions
101
@regex101
Follow me on twitter!
Donate
Like regex101? Support it by donating!
Sponsor
Become a sponsor!
Contact
Send me an email
Bug Reports & Feedback
Bugs or suggestions go here
Wiki
Wiki (Info & FAQ)
Whats new?
Whats new?
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Consider a donation
Consider a donation
Become a sponsor
Become a sponsor
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2 (PHP >= 7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Sponsor
Jamstack at Scale
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
an hour ago
6 digit Sort Code without dashes
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Submitted by
anonymous
-
3 hours ago
Question 2
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by
anonymous
-
5 hours ago
CODA download log
no description available
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
5 hours ago
Dutch streetnames + housenumber + extension
Validates a streetname + housenr + extension Somestreet 12 b
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
Dup words
no description available
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
Dutch zipcodes
no description available
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
Dutch mobile phone number
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by
anonymous
-
a day ago
Url regex
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by
anonymous
-
a day ago
aaa
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by
anonymous
-
a day ago
ATNALogSIEMUseCasesPurposeOfUseESClocal
Nur PurposeOfUse aus ATNA Log auswerten, in Kombination mit ATNALogSIEMUseCaseESC
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
Aplayer Icons Regex
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
cisco command
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
Habibi Mustafa
-
a day ago
Minify HTML
Remove Whitespace Remove Comment
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
get main content if has :
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
a day ago
get number from string
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Submitted by
Gecko Pico
-
a day ago
MongoDB connection string has username and password
Test if a mongo db connection string has a username and password declared in it. Doesn't work with with multi host ATM
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Submitted by
anonymous
-
2 days ago
conditional phone numbers
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
AiAbdrahim
-
2 days ago
Email
A valid Email
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
AiAbdrahim
-
2 days ago
Email
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by
anonymous
-
2 days ago
URL
This pattern can detect URLs.
1
2
3
4
...
668
URL regexp
Regular Expression
pcre
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
Loading markdown...
Submitted by
Matthew O'Riordan
- 8 years ago
Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.