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 2,680 community submitted regex patterns...
1
replace between brackets 3
PCRE2 (PHP >=7.3)
replace multiple matches of words in brackets with no brackets
Submitted by
anonymous
-
3 years ago
1
ParsingAmazonInvoice
PCRE2 (PHP >=7.3)
Goes through a Plain text derived from a PDF capturing the order number, the items, the order and ship dated and the costs.
Submitted by
anonymous
-
3 years ago
0
Variable Variance Formula
PCRE2 (PHP >=7.3)
Variable Variance Formula This is parsing an Alteryx variance formula to show the versatility of re-writing expressions on the fly in your programs for dynamic repeatability, i.e. field names don't matter, and you never have to re-write the same variance formula again!
Submitted by
Chris Kusek
-
3 years ago
1
python 3 executable regex
PCRE2 (PHP >=7.3)
give then names of various executables filter out ones that run python3+
Submitted by
anonymous
-
3 years ago
0
Getting Parts of URL
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/27745/getting-parts-of-a-url-regex
Submitted by
anonymous
-
3 years ago
1
Signed numbers with optional decimal part (comma or dot)
PCRE2 (PHP >=7.3)
Signed numbers with optional decimal part (comma or dot)
Submitted by
ImAlbi57
-
3 years ago
0
日志解析
PCRE2 (PHP >=7.3)
日志解析
Submitted by
vito
-
3 years ago
0
"zoom" follow bots
PCRE2 (PHP >=7.3)
this is for finding all of the "zoom" follow bots on twitch
Submitted by
Math
-
3 years ago
0
Validate XML
PCRE2 (PHP >=7.3)
Validate XML
Submitted by
anonymous
-
3 years ago
0
v1.colName, v2.colName ==> or decode( v1.colName, v2.colName, 1, 0) = 0
PCRE2 (PHP >=7.3)
For Oracle DB, as it doesn't consider null != informed DATE, and considers null != null. For the WHERE clause. = 0 to get differences = 1 to get "sameness"...
Submitted by
R. Moreno
-
3 years ago
0
PHPDocumentor - Add missing @since tags in doc blocks
PCRE2 (PHP >=7.3)
This regular expression helps keeping the PHP documentation up to date by adding the @since tags in the doc block where there are none.
Submitted by
raaaahman
-
3 years ago
0
Alpha Numeric with International characters
PCRE2 (PHP >=7.3)
Alpha Numeric with International characters with space This matches any letter, number, or space in most languages. [...] -> Match with conditions [a|b] -> Match 'a' OR 'b'...
Submitted by
Dinesh Swami
-
3 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surround a string by $$ chards
Submitted by
anonymous
-
3 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surrounded by regex
Submitted by
anonymous
-
3 years ago
0
css special characters
PCRE2 (PHP >=7.3)
The only special characters I've come across are ., :, /. Tailwind CSS uses all of them.
Submitted by
anonymous
-
3 years ago
0
UK National Insurance Number
PCRE2 (PHP >=7.3)
UK National Insurance Number, NINO
Submitted by
anonymous
-
3 years ago
0
확장자 트릭.
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
3 years ago
0
Math HTML tag
PCRE2 (PHP >=7.3)
text
Submitted by
anonymous
-
3 years ago
0
주피와의관계
PCRE2 (PHP >=7.3)
주피와의관계
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
피보험자명
PCRE2 (PHP >=7.3)
피보험자명
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
...
121
122
123
124
125
...
134
URL parser
2
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
https
?
\:
)
\/\/
(
(
[^
:
\/
?#
]
*
)
(?:
\:
(
[
0
-
9
]
+
)
)?
)
(
[
\/
]
{0,1}
[^
?#
]
*
)
(
\?
[^
#
]
*
|)
(
#
.
*
|)
$
/
Open regex in editor
Description
The best way to parse URL via Regex. This can be used in javascript, PHP, etc.
Submitted by
Ivijan-Stefan Stipic
-
8 years ago
(Last modified a year ago)