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 6,320 community submitted regex patterns...
0
worksheet url
PCRE2 (PHP >=7.3)
worksheet url
Submitted by
anonymous
-
3 years ago
0
CTS Non zero
ECMAScript (JavaScript)
CTS Non zero regex
Submitted by
anonymous
-
3 years ago
0
BTS
PCRE2 (PHP >=7.3)
Find/Replace mixed with thought provoking replacement. Insert team members willing to do whatever it takes to accomplish the goal/task into any environment and the possibilities are endless of what can be accomplished. Before, this was 3 separate words. Weak and flimsy. Sometimes you replace the sma...
Submitted by
Chris Kusek
-
3 years ago
0
Python imports
PCRE2 (PHP >=7.3)
this regex with find the files/modules imported into a python file
Submitted by
anonymous
-
3 years ago
0
CSV to Array
ECMAScript (JavaScript)
Captures a line of a CSV into a individual values.
Submitted by
Samuel Molinski
-
3 years ago
0
propub3r6espa33w.PT
PCRE2 (PHP >=7.3)
propub3r6espa33w.PT
Submitted by
anonymous
-
3 years ago
0
Get URL inside parentheses
ECMAScript (JavaScript)
got it from here [Regex to match URL, ends up matching URL plus closing brackets when URL is between brackets [duplicate]](https://stackoverflow.com/questions/60476363/regex-to-match-url-ends-up-matching-url-plus-closing-brackets-when-url-is-betwe)
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
propub3r6espa33w.PT
PCRE2 (PHP >=7.3)
-+--+#0fffffffff00fff
Submitted by
anonymous
-
3 years ago
0
10 digit phone number
ECMAScript (JavaScript)
Phone number regex
Submitted by
anonymous
-
3 years ago
0
PHP STFU operator
PCRE2 (PHP >=7.3)
Look for STFU operator in PHP https://www.php.net/manual/en/language.operators.errorcontrol.php Feel free to contribute or report uses I didn't cover!
Submitted by
JohnyProke
-
3 years ago
0
all characters including new lines
PCRE2 (PHP >=7.3)
https://regex101.com/r/VhkyuM/1
Submitted by
anonymous
-
3 years ago
0
Url Id Match
PCRE2 (PHP >=7.3)
Matches, in a named group of 'tracker', digits 1 or 2 in a Url
Submitted by
anonymous
-
3 years ago
0
regex_licence_bl
PCRE2 (PHP >=7.3)
sdf
Submitted by
guib
-
3 years ago
0
Precision 5.1
PCRE2 (PHP >=7.3)
Numbers with 5.1 precision
Submitted by
anonymous
-
3 years ago
0
Remove bold surrounding italic
ECMAScript (JavaScript)
Remove bold surrounding italic
Submitted by
anonymous
-
3 years ago
1
Remove bold markdown
ECMAScript (JavaScript)
Remove bold pairs in markdown text
Submitted by
anonymous
-
3 years ago
0
SOURCEDOC_SHAPE_PATTERN
PCRE2 (PHP >=7.3)
o
Submitted by
anonymous
-
3 years ago
0
rgex_vue_bl
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
3 years ago
0
Alien Registration Number
Java 8
Alien Registration Number
Submitted by
anonymous
-
3 years ago
0
Opção de Compra (CALL)
PCRE2 (PHP >=7.3)
como identificar opção de compra de ações (CALL)
Submitted by
marcos lira
-
3 years ago
1
...
172
173
174
175
176
...
316
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
(
[
a
-
zA
-
Z
]
:
[
/
\\
]
|
\\\\
)
(
[
0
-
9a
-
zA
-
Z_
\-
.
]
+
[
/
\\
]
?
)*
)
|
(
[
0
-
9a
-
zA
-
Z_
\-\\
/.
]
[
0
-
9a
-
zA
-
Z_
\-\\
/.
]
*
)
|
(
^$
)
/
g
Open regex in editor
Description
This validates that the string is a File or directory path - Absolute or Relative, or empty string.
Submitted by
anonymous
-
7 years ago