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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,900 community submitted regex patterns...
1
Labels with version numbers
PCRE (PHP <7.3)
Quick studty of labels with version numbers
Submitted by
LC
-
9 years ago
1
[attr=value] style
PCRE (PHP <7.3)
no description available
Submitted by
David Rodrigues
-
9 years ago
1
phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Regex for parsing function command line arguments
PCRE (PHP <7.3)
How i can parse the following function command line: The separtor is (\s-\w\s) like -c or -d or -n C:/my app/bin/Reader.dll -n Proc_20ms -c C:/Users/Braun/Desktop/test.csv -t Continue the simulation from the first line of the csv-file -j none -V errors and warnings (default) -d , to: ...
Submitted by
Braun
-
9 years ago
1
REGEX Código Postal Pt
PCRE (PHP <7.3)
Expressão regular para o código postal (postcode) portugês
Submitted by
xsteal
-
9 years ago
0
fgj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
FLISR group match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
4-digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
4 digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
A pcre that capture a 4-digit numeric that does not allow a leading zero and no repeat digits.
Submitted by
Jeff Thompson
-
9 years ago
3
^.*(\/Summary\/).*(chelaxe\.ru).*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
7
rsyslog test
PCRE (PHP <7.3)
global modifier
Submitted by
dtmland
-
9 years ago
1
Parse an HL7 date, and capture the components
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
periodic-digit-numbers
PCRE (PHP <7.3)
no description available
Submitted by
Wolf
-
10 years ago
1
hostname
PCRE (PHP <7.3)
RFC 1123 compatible RegEx for a hostname (not a domain name), inspired by chapter 7.15 from Regular Expressions Cookbook.
Submitted by
anonymous
-
10 years ago
2
catch options
PCRE (PHP <7.3)
catch options
Submitted by
Marek R
-
10 years ago
1
Single Mustache
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Match Linux File basename and pathname
PCRE (PHP <7.3)
Matches 2 groups - pathname and file basename, and will exclude anything on the end of the line that is not properly escaped.
Submitted by
Steve Sant
-
10 years ago
11
Remove Special Ascii Characters from unicode String
PCRE (PHP <7.3)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
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
1
...
563
564
565
566
567
...
595
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago