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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
1
Match first PMID
PCRE (PHP <7.3)
When encountering more than 1 pmid, make sure to return the first one
Submitted by
agreco13
-
9 years ago
0
ISO 8601 Dates
PCRE (PHP <7.3)
Regex supporting all formats of ISO 8601 dates (with timezone and microseconds) that are compatible with PHP DateTime constructor and strtotime.
Submitted by
mjolnic
-
9 years ago
0
find a string (placeholder) inside a string
Python
find a string (placeholder) inside a string
Submitted by
vikash Kumar Agarwal (vikashmnk)
-
9 years ago
1
Password Complexity Requirement RegEx
PCRE (PHP <7.3)
^ # 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
-
9 years ago
3
Get bad iframe (with white-list)
PCRE (PHP <7.3)
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
-
9 years ago
1
redirect to https and non www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
handin5
Python
no description available
Submitted by
anonymous
-
9 years ago
4
Currency Formater Accept , & .
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
sdfgedgesrgere
ECMAScript (JavaScript)
czfb
Submitted by
rtqetqetrqert
-
9 years ago
1
The meaning of life
PCRE (PHP <7.3)
http://www.rexegg.com/regex-humor.html#meaning-of-life
Submitted by
rexegg
-
9 years ago
1
ip
Python
ip search
Submitted by
WFT
-
9 years ago
1
[TYPECODE #1\](NCHG)
PCRE (PHP <7.3)
\TYPECODE #1\\[MARF#\].?\[EREF#\].?\[IREF#\].?\[RTRN#]\s.?\[DR #1\]
Submitted by
AS/KL
-
9 years ago
2
Ultimate URL/IP validator
ECMAScript (JavaScript)
Validates most types of URL's and IP addresses. NOTICE! remove "?" after first non-capturing group to forse check protocol.
Submitted by
anonymous
-
9 years ago
0
HTTP / HTTPS link check
ECMAScript (JavaScript)
Check if string contains a valid HTTP / HTTPS link
Submitted by
Dimorphic
-
9 years ago
1
123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Get text of c-style comments
PCRE (PHP <7.3)
no description available
Submitted by
ldg
-
9 years ago
1
Cusip/Price combination
PCRE (PHP <7.3)
SHould pickup a cusip followed by a price in decimals or ticks.
Submitted by
Rohit Thapliyal
-
9 years ago
1
GRBL status parser
PCRE (PHP <7.3)
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
-
9 years ago
0
get params from json
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
hh:mm:ss time matcher
PCRE (PHP <7.3)
matches correct format for time
Submitted by
anonymous
-
9 years ago
1
...
796
797
798
799
800
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
a
-
z
]
{1}
|
(?<=
\s
)
[
a
-
z
]
{1}
/
gm
Open regex in editor
Description
match first lowercase letter of every word
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)