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,540 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
8 years ago
2015-08-01 12:59
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
DateTime: yyyy-M-d-HH-mm-ss (.NET)
PCRE (PHP <7.3)
Validates DateTime in format 'yyyy-M-d-HH-mm-ss'(.NET) in mind with possible zeros, minimal values, maximal values and infinite year
Submitted by
CryoCZ
-
8 years ago
2015-07-31 21:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
8 years ago
2015-07-31 21:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract port from URL
PCRE (PHP <7.3)
Extracts the port from different possible forms of URL
Submitted by
anonymous
-
8 years ago
2015-07-31 16:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find php short echo tags
PCRE (PHP <7.3)
Find instances of Usefult to replace with
Submitted by
JayCee
-
8 years ago
2015-07-31 15:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find php short open tags
PCRE (PHP <7.3)
Finds instances of <? instead of <?php
Submitted by
JayCee
-
8 years ago
2015-07-31 15:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-31 14:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-31 09:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Machine Readable Passport - Extractor
PCRE (PHP <7.3)
First version of MRP Extractor Future versions include Merge with validator (if possible) Check nationalities
Submitted by
Mauro
-
8 years ago
2015-07-31 09:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
url 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-30 13:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parsing BWPROMO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-29 17:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find variant in uri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-29 16:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get last uri segment ending in number
PCRE (PHP <7.3)
no description available
Submitted by
Ben
-
8 years ago
2015-07-29 14:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
remove tinymce id's
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-29 13:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rubik Parser
PCRE (PHP <7.3)
extract face/slice/axis rotations, pieces, patterns and groups
Submitted by
FabioDiMonte
-
8 years ago
2015-07-29 12:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match C# class definition
PCRE (PHP <7.3)
match C# a class definition
Submitted by
luan castro (@castrolol)
-
8 years ago
2015-07-29 03:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OG by Sam
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-28 18:08
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Function Parameter Switcher
PCRE (PHP <7.3)
Switches the order of two functions in a parameter.
Submitted by
anonymous
-
8 years ago
2015-07-28 16:24
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
website
PCRE (PHP <7.3)
If needed to test entered website
Submitted by
Max Shishkov
-
8 years ago
2015-07-28 13:07
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
ipv4 and ipv6
PCRE (PHP <7.3)
no description available
Submitted by
shri
-
8 years ago
2015-07-28 09:44
1
...
522
523
524
525
526
527
528
...
577
posix
-2
6 upvotes, 8 downvotes (score 21.4%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
^
(?!
1
$
)
.
*
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-06-09 18:58