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
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
-
10 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
4
Hibernate SQL Reductor
ECMAScript (JavaScript)
If you want to understand an SQL statement for Hibernate: this replaces the selected fields in an SQL statement generated by Hibernate by a shorthand, since you usually just care about the logic. E.g. it changes select foo0_.bla as bla1_3, foo0_.bar as bar1_3, foo0_.baz1_3 as baz1_3 from ... to sele...
Submitted by
Hans-Peter Stoerr www.stoerr.net
-
10 years ago
0
fgj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
FLISR group match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
4-digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
3
^.*(\/Summary\/).*(chelaxe\.ru).*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
7
rsyslog test
PCRE (PHP <7.3)
global modifier
Submitted by
dtmland
-
10 years ago
1
Parse an HL7 date, and capture the components
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
AD Default Password Policy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 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
1
Removes C-like comments
Python
no description available
Submitted by
Gabriel Olivério
-
10 years ago
2
catch options
PCRE (PHP <7.3)
catch options
Submitted by
Marek R
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
1
NSE0(.*)\nNSE1\s+(.*)\nNSE2\s(.*)\nNSE3\s+(.*)kbps.*\nNSE4\s+(.*)\nNSE
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Single Mustache
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
10 years ago
1
...
857
858
859
860
861
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
[
A
-
Z
]
{2}
)
\s
{2,}
(
[
A
-
Z
]
{2,}
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago