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,020 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
1
phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
[attr=value] style
PCRE (PHP <7.3)
no description available
Submitted by
David Rodrigues
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
URI generic parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
jonfir-question
PCRE (PHP <7.3)
its mysql config file, i need find user only [client] section (or take sure shat its section not content user)
Submitted by
jonfir
-
10 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
test
-
10 years ago
1
regexp for Shahar
PCRE (PHP <7.3)
regexp for Shahar
Submitted by
Eugene
-
10 years ago
1
Email Check
PCRE (PHP <7.3)
Verify an email is OK
Submitted by
Will
-
10 years ago
1
Validate Url with or without http(s)://
PCRE (PHP <7.3)
This will validate whether you starts with http(s)://
Submitted by
Sanal Menon Kalipurayath
-
10 years ago
1
Output string is not displayed for given regex
PCRE (PHP <7.3)
I have this regex and input string. But nothing is displayed in output area. Could you please help to know why it is not displaying output? Thanks.
Submitted by
anonymous
-
10 years ago
1
Pre tags and inner contents grabber for JavaScript
ECMAScript (JavaScript)
No /s, took quite a time to think.
Submitted by
Namikaze Ray a.k.a. Pendechosen
-
10 years ago
1
test tags Libellex
ECMAScript (JavaScript)
no description available
Submitted by
AROC
-
10 years ago
1
afsd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
10 years ago
1
Inverse Match
Python
inverse match letters, numbers, and underscores
Submitted by
anonymous
-
10 years ago
1
match only an #endif where no wordcharacter is following(multiline)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
mceItem_breakpoint
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
mceItem_breakpoint2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
always greedy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
79
80
81
82
83
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?:
(?:
[^
?+*{}()[
\]\\
|
]
+
|
\\
.
|
\[
(?:
\^
?
\\
.
|
\^
[^
\\
]
|
[^
\\
^
]
)
(?:
[^
\]\\
]
+
|
\\
.
)*
\]
|
\(
(?:
\?
[
:=!
]
|
\?
<
[
=!
]
|
\?
>
)?
(?1)
?
?
\)
|
\(\?
(?:
R
|
[
+-
]
?
\d
+
)
\)
)
(?:
(?:
[
?+*
]
|
\{
\d
+
(?:
,
\d
*
)?
\}
)
[
?+
]
?
)?
|
\|
)*
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago