Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,300 community submitted regex patterns...
1
6 upvotes, 5 downvotes (score 28%) (You must be signed in to vote)
Find Word on A Text
PCRE (PHP <7.3)
This expression find a word in a text without limitation of "\b" statement
Submitted by
theShadow
-
9 years ago
2014-10-24 08:45
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
rwe
PCRE (PHP <7.3)
rwerw
Submitted by
rwerw
-
9 years ago
2014-10-24 07:52
10
15 upvotes, 5 downvotes (score 53.1%) (You must be signed in to vote)
Just validate one sequence of
PCRE (PHP <7.3)
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
9 years ago
2014-10-23 13:22
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
IsEmailValid()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-22 13:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
asf
PCRE (PHP <7.3)
asfd
Submitted by
asdf
-
9 years ago
2014-10-22 11:16
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-10-21 23:33
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
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
-
9 years ago
2014-10-21 18:45
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
9 years ago
2014-10-21 16:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
9 years ago
2014-10-21 16:15
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
GlobalRange-phone-fax
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-21 14:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
LogExpert Regex Columnizer
PCRE (PHP <7.3)
parsing log file
Submitted by
Oddbjørn Haaland, Sander Struijk
-
9 years ago
2014-10-21 11:46
22
59 upvotes, 37 downvotes (score 51.5%) (You must be signed in to vote)
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
-
9 years ago
2014-10-21 08:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Reg124
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-21 07:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RegExExample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-20 13:13
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
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
-
9 years ago
2014-10-19 19:06
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
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
-
9 years ago
2014-10-18 10:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
first regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-17 18:15
3
8 upvotes, 5 downvotes (score 35.5%) (You must be signed in to vote)
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
-
9 years ago
2014-10-17 12:16
0
5 upvotes, 5 downvotes (score 23.7%) (You must be signed in to vote)
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
-
9 years ago
2014-10-16 12:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
External OR operator
PCRE (PHP <7.3)
Why doesn't recognize the second pattern after pipe | ?
Submitted by
Fede e Walter
-
9 years ago
2014-10-16 09:50
1
...
541
542
543
544
545
546
547
...
565
Tv Series name extractor
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(
.
+
?
)
[
-.
]
{0,3}
s
?
(
\d
?
\d
)
[
ex
]
(
\d\d
)
[
-.
]
{0,3}
(
.
*
?
)
[
-.
]
?
(?:
(?=
pulcione
|
eng
|
ita
|
\w
+
Mux
|
\w
+
dl
|
\d
+
p
|
XviD
|
NovaRip
)
.
+
)?
\.
(
[
\w
]
{2,3}
)
$
"
img
Open regex in editor
Description
Loading markdown...
Submitted by
dshinigami
-
9 years ago
2014-10-13 22:02