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
UK Unique Candiate Identifier (UCI)
PCRE (PHP <7.3)
Basic validation of UK student UCI numbers. Please note that further validation must be done to confirm the final character ( the 'control character') is correct: http://www.wjec.co.uk/exam-officers/entries/unique-candidate-identifiers.html
Submitted by
GeekJosh
-
8 years ago
1
This regex checks to see if any lowercase letter is found after
ECMAScript (JavaScript)
1) First rememeber to escape .?! with a \ 2) Square brackets mean "any of the characters inside us" 3) \s* mean "0 or more spaces after the previous characters" 4) [a-z] mean "any character in the set from a to z that is in lowercase"
Submitted by
Giuseppe Tavella
-
8 years ago
1
Image from URL (Tamarin)
ECMAScript (JavaScript)
no description available
Submitted by
Michael Degli-Angeli
-
8 years ago
1
lint function
ECMAScript (JavaScript)
no description available
Submitted by
Thomas O Daem
-
8 years ago
1
Regular expression for IP Address Validation | Taha
PCRE (PHP <7.3)
ip address regex java,ip address regex c#,grep ip address regex,ip address regex python,ip address regex javascript,perl ip address regex,regex ip address range,whitespace in regex Feel Free To IMPROVE
Submitted by
Taha Bhutta
-
8 years ago
1
lsyh-aem_log_entry_split
PCRE (PHP <7.3)
lsyh
Submitted by
hunagyp
-
8 years ago
1
Regex to validate date format yyyy/mm/dd | Taha
PCRE (PHP <7.3)
Regex to validate date format yyyy/mm/dd
Submitted by
Taha Bhutta
-
8 years ago
1
del email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Capture Anchor Tag urls (http/https)
ECMAScript (JavaScript)
Capture all anchor tags url with http and https, excluding ftp links
Submitted by
koder5
-
8 years ago
1
figata
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
bjss email
PCRE (PHP <7.3)
no description available
Submitted by
Charlie Marcus
-
8 years ago
1
Capture Comments on SQL followed by SELECT
Python
Shag Maister is the best
Submitted by
anonymous
-
8 years ago
1
TODO regex
PCRE (PHP <7.3)
various types of todo annotations for meeting notes
Submitted by
anonymous
-
8 years ago
1
Port Number
PCRE (PHP <7.3)
Matches port numbers (or simply numbers between 0 - 65535)
Submitted by
anonymous
-
8 years ago
1
Split into phrases
ECMAScript (JavaScript)
Split a sentence into phrases.
Submitted by
Bill Bostock
-
8 years ago
1
Image Class Test
PCRE (PHP <7.3)
Finds images that have a certain class (in this case, "foo")
Submitted by
Todd Dukart
-
8 years ago
1
Match ip address @ bla.com
PCRE (PHP <7.3)
no description available
Submitted by
Marius Nilsen
-
8 years ago
1
Prompt/command/output matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Parenthesis Non-Breaking Spaces
PCRE (PHP <7.3)
Find spaces between parenthesis and replace them with non-breaking spaces
Submitted by
Aartro
-
8 years ago
1
Match PS1 & Cmd - Extract Cmd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
214
215
216
217
218
...
902
Community Library Entry
0
Regular Expression
Python
r"
^
(?:
[
-:+
]
*
|
\d\d
/
\d\d
/
\d\d
\d\d
:
\d\d
:
\d\d
INFO
acceleratorGenerator:
)
Filter
\s
*
(
\(
.
+
\)
)
.
*
\[
pid:
[
-
\d
]
+
,
id:
\d
+
,
(?:
inner:
\S
+
,
)?
sid:
[
-
\d
]
+
\]
(?:
:
\s
+
\{
StructType
\(
(
(?:
\s
+
StructField
\(
\S
+
,
\S
+
,
[^
)
]
+
\)
,
?
)+
)
\)\}
)?
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago