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
URL SERVER
ECMAScript (JavaScript)
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
提取持股情况
PCRE2 (PHP >=7.3)
能够基于董监高临时公告
Submitted by
mason
-
2 years ago
0
Fraction to decimal
Python
Convert fractions in for of 7 1/2 or 7-1/2 with optional spacing to 7.5 avoiding expressions like 5-7 / 10-11 to be mistaken as 5-7/10
Submitted by
Waleed Kilany
-
2 years ago
0
split a comma separated string ignoring quotes and brackets
PCRE2 (PHP >=7.3)
Breaks a CSV into parts, but keeps those things in quotes (single OR double), or in curved bracket together. preg_match_all('(?:\'(?:\\\\.)\'|"(?:\\\\.)"|(\((?:++|(?1))*\))|)+s', $text, $matches)
Submitted by
anonymous
-
2 years ago
0
Locate all quoted (single or double) text, handling nested and also ignoring when in the first param of a ".replace("
PCRE2 (PHP >=7.3)
See https://onlinephp.io/c/a21b4 for PHP preg_replace_callback results
Submitted by
anonymous
-
2 years ago
0
Isolate javascript elements within [html] text
PCRE2 (PHP >=7.3)
Needed to find all content between ... tags, plus any content within a that has an argument starting with on, e.g. See https://onlinephp.io/ for PHP runtime
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Regex to match all instances not inside quotes
PCRE (PHP <7.3)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Regex to match all instances not inside quotes (inc escaped quotes)
ECMAScript (JavaScript)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
2 years ago
0
TatraBanka AMOUNT_VALUE
Java 8
some descriptoin
Submitted by
Inez van Acker, Robert Schulz
-
2 years ago
(Last modified 2 years ago)
0
Simple reduce string words
ECMAScript (JavaScript)
ECMAScript regex to try reduce words
Submitted by
Alan Ferreira
-
2 years ago
0
Filtro Página web
PCRE (PHP <7.3)
Filtro pagina web
Submitted by
anonymous
-
2 years ago
0
vue sfc script tag
ECMAScript (JavaScript)
Regexp to match vue sfc script tag
Submitted by
YuTengjing
-
2 years ago
0
Email check
PCRE2 (PHP >=7.3)
check if email is correct
Submitted by
anonymous
-
2 years ago
0
OCP typedef name
Python
Match to ocpCamelCase Name[Ptr]
Submitted by
Xiaoxing Cheng
-
2 years ago
0
minecraft custom chat parser
ECMAScript (JavaScript)
basically parses Minecraft CUSTOM chat messages. it can parse: [rank] username: message [rank] username > message [rank] username › message [rank] username » message
Submitted by
anonymous
-
2 years ago
0
frequency
PCRE2 (PHP >=7.3)
e
Submitted by
hieppp
-
2 years ago
0
Twitter profile url regexp
PCRE2 (PHP >=7.3)
This regexp tests for Twitter profile urls
Submitted by
nbryskin
-
2 years ago
0
COINGBIT
PCRE (PHP <7.3)
0x18a0C976040e8FD9E529b8B363150b201606396e COINGBIT USD $70000000.0 Paypal gislainelophes@gmail.com CPF 04805338652
Submitted by
COINGBIT
-
2 years ago
(Last modified 2 years ago)
0
Date String ISO Pattern
Golang
Date String ISO Pattern matcher
Submitted by
Lucas Morais
-
2 years ago
0
thank you pages
PCRE2 (PHP >=7.3)
thank you pages regex
Submitted by
anonymous
-
2 years ago
1
...
860
861
862
863
864
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<upc>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<date>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
(
\(
\d
{1,3}
[
0
-
9,a
-
z,A
-
Z
]
{1}
?
\)
(?<batch>
[
\d
,a
-
z,A
-
Z
]
{1,70}
)
)
/
gm
Open regex in editor
Description
Parse the 3 groups of a GS1-128 Barcode
Submitted by
Mike D
-
2 years ago