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...
0
Clean Class html file step3
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Between two characters: Good for HTML or CSS inline style height/width
PCRE (PHP <7.3)
This matches content between two characters ie. height: 400px; matches between : and ;
Submitted by
anonymous
-
7 years ago
0
Numéro d'article (avec niveau et composantes multiples)
PCRE (PHP <7.3)
Parse les numéros d'article, avec le préfixe éventuel de niveau Ex : D101, A.202, R*203,R. * 102-36
Submitted by
anonymous
-
7 years ago
0
Selector
PCRE (PHP <7.3)
no description available
Submitted by
{Koks}
-
7 years ago
0
Zipcode Regex
PCRE (PHP <7.3)
This regex validates zipcode for India Valid examples 412003 412 003 ...
Submitted by
Omkar Tapale
-
7 years ago
0
Find ip and link full
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
Property-Value JSON
ECMAScript (JavaScript)
".\w?":".\w?"
Submitted by
Jhaffar Alexis Moreno Valega
-
7 years ago
0
Replace HTML Tags (H1)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Exlude DBA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Negative Lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
remove all whitespaces with underscore
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
CSS | Convert class attribute syntax to equivalent dot syntax
PCRE (PHP <7.3)
Example [class*="container"] → .container
Submitted by
pustur
-
7 years ago
0
regexp_replace POSTGRES - not working - need to use LEFT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
H-Game Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
simple mail regex
Python
no description available
Submitted by
anonymous
-
7 years ago
0
use positive look behind and flags=re.I
Python
positive look behind: it does not consume the first character, so it can be used for the next match flags=re.I is to ignore case sensitive
Submitted by
anonymous
-
7 years ago
0
INT-451
PCRE (PHP <7.3)
Youtube Iframes to Shortcode
Submitted by
anonymous
-
7 years ago
0
redirectimage
PCRE (PHP <7.3)
Rid OceanExplorer of php script with the redirectimage flavor
Submitted by
anonymous
-
7 years ago
0
Форматирование номера счёта
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
ФИО
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
455
456
457
458
459
...
902
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