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
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
password complexity
At least one lower case, upper case and digit, at least 10 chars
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Youtube Regex
To get video id from different formats
Submitted by
bux
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Match first PMID
When encountering more than 1 pmid, make sure to return the first one
Submitted by
agreco13
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
ISO 8601 Dates
Regex supporting all formats of ISO 8601 dates (with timezone and microseconds) that are compatible with PHP DateTime constructor and strtotime.
Submitted by
mjolnic
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Password Complexity Requirement RegEx
^ # start-of-string (?=.*[0-9]) # a digit must occur at least once (?=.*[a-z]) # a lower case letter must occur at least once (?=.*[A-Z]) # an upper case letter must occur at least once (?=.*[@#$%^&+=]) # a special character must occur at least once (?=\S+$) ...
Submitted by
http://stackoverflow.com/users/18771/tomalak
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get bad iframe (with white-list)
In (?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/) u can add good sites for iframes: www.youtube.com/ player.vimeo.com/
Submitted by
Resager
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
The meaning of life
http://www.rexegg.com/regex-humor.html#meaning-of-life
Submitted by
rexegg
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
[TYPECODE #1\](NCHG)
\TYPECODE #1\\[MARF#\].?\[EREF#\].?\[IREF#\].?\[RTRN#]\s.?\[DR #1\]
Submitted by
AS/KL
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
123
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get text of c-style comments
no description available
Submitted by
ldg
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Cusip/Price combination
SHould pickup a cusip followed by a price in decimals or ticks.
Submitted by
Rohit Thapliyal
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
GRBL status parser
parses the status message (response to '?') from a GRBL controller according to https://github.com/grbl/grbl/blob/master/grbl/report.c#L421 works with every possible status report mask (grbl 0.9i)
Submitted by
martin2250
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
hh:mm:ss time matcher
matches correct format for time
Submitted by
anonymous
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Words with only one spacing
Names with only one spacing allowed in between words.
Submitted by
Pavan Kataria
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
filerouter
no description available
Submitted by
anonymous
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Change Table names
no description available
Submitted by
Andrea
-
8 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
pcre
Validate Base64 with new lines (e.g. GPG base64 messages)
This regular expression validates if given string is formatted in Base64, additional it accepts new lines, since payload can have new lines in it.
Submitted by
wpodgorski
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
linear math
x+x^10+10x^(-3) get all valuem one by one
Submitted by
Max(morozovmaxim25@gmail.com)
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
French phone attempt
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
IP Regex Test
no description available
Submitted by
anonymous
-
8 years ago
1
...
496
497
498
499
500
501
502
...
571
Phone number
Vote
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
(
[
\+
]
{0,1}
)
(
[
\d\s
]
{0,15}
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 8 years ago