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. Click
here
to read more.
Community Patterns
Search among 11,820 community submitted regex patterns...
10
Just validate one sequence of
PCRE (PHP <7.3)
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
10 years ago
-2
IsEmailValid()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
asf
PCRE (PHP <7.3)
asfd
Submitted by
asdf
-
10 years ago
0
Validate date
PCRE (PHP <7.3)
Validate date in format dd/mm/yyyy dd.mm.yyyy dd-mm-yyyy or dd/mm/yy dd.mm.yy dd-mm-yy GetFrom -> http://stackoverflow.com/questions/15491894/regex-to-validate-date-format-dd-mm-yyyy
Submitted by
Dilakv
-
10 years ago
-2
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
10 years ago
0
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
10 years ago
0
GlobalRange-phone-fax
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
LogExpert Regex Columnizer
PCRE (PHP <7.3)
parsing log file
Submitted by
Oddbjørn Haaland, Sander Struijk
-
10 years ago
22
UK Postcode Checker
PCRE (PHP <7.3)
Checks for valid UK/British postcodes. There was another on here that had for some reason been upvoted, but it was actually incorrect as it worked on none of my valid own postcodes! Namely that it assumed two letters and a number (BS3) when you can have variations (M20). Allows for an optional spac...
Submitted by
MaffooBristol
-
10 years ago
1
Reg124
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
RegExExample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
RFC 5322 email validation
PCRE (PHP <7.3)
Unsatisfied with your email validation? Concerned about standards compliance? Worried about that one weird edge case? Want to stress-test your regex engine? This might be the regex for you!
Submitted by
Blake Thomas
-
10 years ago
0
Domain Name .CZ - only 2th level format
PCRE (PHP <7.3)
Valid only for something.cz, some-thing.cz, 2245exampl.cz ... Not-valid for -some.cz, here.com.cz ...
Submitted by
Pavel Ondřej
-
10 years ago
0
first regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
everything that doesn't match .gitignore at the end
PCRE (PHP <7.3)
must match: selection/nl/example.xml selection/example.xml selection/blabla.txt selection/es/ ...
Submitted by
anonymous
-
10 years ago
0
Unicode alpha-numeric regex
PCRE (PHP <7.3)
Tests for all unicode language characters and number. Excludes any sentence joining characters etc.
Submitted by
Jamie
-
10 years ago
1
External OR operator
PCRE (PHP <7.3)
Why doesn't recognize the second pattern after pipe | ?
Submitted by
Fede e Walter
-
10 years ago
0
search h1 tag html
PCRE (PHP <7.3)
(.*?) example: Your best title
Submitted by
otharwa
-
10 years ago
1
codegolf.SE cops&robbers histocrat#2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
PCRE (PHP <7.3)
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
10 years ago
1
...
571
572
573
574
575
...
591
determine if input text is an URL
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
https
?
:
)?
\/\/
)?
(
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
(
:
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
)?
@
)?
(
[
\d\w
]
[
-
\d\w
]
{0,253}
[
\d\w
]
\.
)+
[
\w
]
{2,63}
(
:
[
\d
]
+
)?
(
\/
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)*
(
\?
(
&
?
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)
=
?
)*
)?
(
#
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)?
/
gmi
Open regex in editor
Description
determine if input text is an URL
Submitted by
anonymous
-
a year ago