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...
4
Simple Linux File Absolute Path Tester
PCRE (PHP <7.3)
Match simple linux file absolute path as /usr/share/my-folder/helloworld.jpg
Submitted by
FLonpl6
-
10 years ago
4
url matching
ECMAScript (JavaScript)
supports all major protocols
Submitted by
matheus silva
-
10 years ago
3
Simple math regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
4
Validate a Particular File Extension
PCRE (PHP <7.3)
Validates a File Path and makes sure the correct extension is at the end.
Submitted by
Andrew Morpurgo
-
10 years ago
2
Password Enforcement Pattern -- trailing pattern
PCRE (PHP <7.3)
This RegEx was posted on a Ruby site as one for enforcing password pattern. I added {8,32} to limit the length of the password, even though I realize no one has passwords longer than that. Rules: at least 1 digit, 1 special character (as defined), 1 upper case and 1 lower case character, between 8 ...
Submitted by
Dave Phillips
-
10 years ago
2
Select all chars before last backslash
PCRE (PHP <7.3)
For selecting paths without filename
Submitted by
Me!
-
10 years ago
3
^.*(\/Summary\/).*(chelaxe\.ru).*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
REGEX
Python
no description available
Submitted by
anonymous
-
10 years ago
-3
Select a HTML table and all its innerHTML
PCRE (PHP <7.3)
no description available
Submitted by
@ixzy24
-
10 years ago
4
Capture only top-level (root) domain in URL
PCRE (PHP <7.3)
no description available
Submitted by
guyfawkes
-
10 years ago
0
french phone number (locale format)
PCRE (PHP <7.3)
little matcher for french phone number in locale format (example: 0231348228)
Submitted by
Nolwennig
-
10 years ago
-2
posix
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Fully Qualified Domain Name FQDN
PCRE (PHP <7.3)
Fully qualified domain name validation
Submitted by
ximbs
-
9 years ago
3
US Zip Code
ECMAScript (JavaScript)
This pattern matches the US Postal Code format and captures the seperate parts; basic and +4.
Submitted by
anonymous
-
9 years ago
6
Quartz Cron Validation
PCRE (PHP <7.3)
http://stackoverflow.com/questions/2362985/verifying-a-cron-expression-is-valid-in-java
Submitted by
anonymous
-
9 years ago
3
Invalid Unicode characters in XML
PCRE (PHP <7.3)
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Submitted by
Aaron Wells
-
9 years ago
5
youtube url match
ECMAScript (JavaScript)
extract video id, index, play list id from youtube URL
Submitted by
anonymous
-
9 years ago
4
tgs data delivery .zip ID
PCRE (PHP <7.3)
Pull zip download ID from default links. Works with datadelivery and datadelivery1
Submitted by
TRL
-
9 years ago
4
vowel words
ECMAScript (JavaScript)
([!-\~]aeiou)
Submitted by
Ipsita Mohanty
-
9 years ago
5
email (tikhonov)
ECMAScript (JavaScript)
CheckEmail Login start or end simbols [._- ] .login@domain.com - fail -login@domain.com - fail _login@domain.com - fail login.@domain.com - fail...
Submitted by
Tikhonov Alexander <123546.90@mail.ru>
-
9 years ago
(Last modified a year ago)
1
...
11
12
13
14
15
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
A
-
z
]
{3}
[
\d
]
{2}
[
\d
]
{1,2}
:
[
\d
]
{1,2}
:
[
\d
]
{1,2}
)
(
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
\.
[
\d
]
{1,3}
)
(
\[
S
\=
[
\d
]
{9}
\]
)
(
\[
[
A
-
z
]
ID=
.
{1,18}
\]
)
\s
{1,3}
(
\(
N
\s
[
\d
]
{5,20}
\)
)?
(
\s
+
(
.
*
)
)
\s
{1,3}
?
(
\[
Time:
.
*
\]
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
sdf
-
4 years ago