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...
0
webui
PCRE (PHP <7.3)
webui test
Submitted by
Stelsy
-
10 years ago
0
Anyone can help to generate the regular expression for the desc ?
ECMAScript (JavaScript)
Hi All, We got a database column which saving the table definition as patten string below. How can I extract the column & libelle information out of the string by using regular expression ? Thanks a lot ! c:{k:16:PERIODDEFINITION;c:{k:8:REVENUE1;c:{k:6:COLUMN;s:8:REVENUE1;k:7:LIBELLE;s:23:Revenue ...
Submitted by
anonymous
-
10 years ago
0
Number with two max possible decimals
ECMAScript (JavaScript)
For float type inputs.
Submitted by
Juanma - https://github.com/juanmaa1414
-
10 years ago
0
YouTube VideoID and ListID from URL
PCRE (PHP <7.3)
For embeding, replace with //www.youtube.com/embed/$3?list=$2$6
Submitted by
@rubenlopezgea
-
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
0
fgj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
10 years ago
0
123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Negative lookbehind
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Match URL Starts with //
PCRE (PHP <7.3)
You can match the string starts with // (forward slash)
Submitted by
Sanal Menon Kalipurayath
-
10 years ago
0
parenthesized numerical expression
PCRE (PHP <7.3)
no description available
Submitted by
pooty
-
10 years ago
0
eksr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
1
PCRE (PHP <7.3)
1
Submitted by
anonymous
-
10 years ago
0
test
PCRE (PHP <7.3)
test
Submitted by
test
-
10 years ago
0
sas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Detecta abreviaturas de tipo de personalidades juridicas
ECMAScript (JavaScript)
Detecta abreviaturas de tipo de personalidades juridicas, que habitualmente se encuentran en la razón social de una empresa, en el caso de Chile es obligatorio la razon social especifique que tipo de personalidad juridica es.
Submitted by
Edurdo Gómez
-
10 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
select html paragraph tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
fsd
PCRE (PHP <7.3)
fsdfsd
Submitted by
anonymous
-
10 years ago
0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
26
27
28
29
30
...
901
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(?:
^
|
(?<=
\/
)
)
(?:
[^
\s
.
\/
]
+
|
\.
(?!
\.\/
)
)+
+
\/\.\.\/
/
gmix
Open regex in editor
Description
Example usage: $Path = preg_replace('/(?:^|(?<=/))(?:[^\s./]+|.(?!./))++/..//i', '', $Path);
Submitted by
Mr.Deek & +OnlineCop
-
9 years ago