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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 17,940 community submitted regex patterns...
0
Arabic example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
10 years ago
0
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
10 years ago
0
hhh
PCRE (PHP <7.3)
Fghh
Submitted by
ggj
-
10 years ago
0
aliexpres
PCRE (PHP <7.3)
test z wyrażeniem regularnym
Submitted by
diox
-
10 years ago
0
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Parse Portuguese Frequency dictionary
Python
The following is a dictionary of 4991 portuguese words ordered by frequency. I need the file to have just number of line and word like the following 11 lines of example. So I need to delete all lines that don't start with a number and delete everything after number and word. Also delete all lines wi...
Submitted by
alfacent
-
10 years ago
0
deviantart scrape search results
Python
Scrape DeviantArt's search page HTMl to extract the category, the id, the user and the image url of each post.
Submitted by
nelieru
-
10 years ago
0
CNPJ - brazilian company identifier number
ECMAScript (JavaScript)
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
10 years ago
0
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
10 years ago
0
Match all {{}} string
PCRE (PHP <7.3)
Easily match the {{}} string for web developper MVC.
Submitted by
Yannick Elusue
-
10 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
10 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
10 years ago
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
-
9 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
26
27
28
29
30
...
897
IP address without local
1
Regular Expression
.NET 7.0 (C#)
@"
(?<=
(?!
(
https
*
://
)*
(
(
127
)
|
(
192
\.
168
)
|
(
0
\.
0
\.
0
\.
0
)
)
)
(?:
(?:
https
*
://
)
|
^
)
)
(?:
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
)
(?=
[^
\d\s
]
|
$
)
"
gm
Open regex in editor
Description
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
a month ago