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
Community Patterns
Search among 2,500 community submitted regex patterns...
0
match id in the middle of a url
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
derinlik
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
calculator expressions
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
search input parsing for ccg database
PCRE2 (PHP >=7.3)
catches member no eg L 791a & separates mType and submember letter or catches name in last-name-first format or name plus a general search string lile 'and city is Bakersfield'
Submitted by
anonymous
-
3 years ago
0
Fin de phrase sans espace
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
US/Canada Zip if at end of line
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
docker ps -> firewall
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Sagitta - LTEPIC
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
AOC 2020 day 18
PCRE2 (PHP >=7.3)
no description available
Submitted by
Alan Nevill
-
3 years ago
0
Escaped Character Finder
PCRE2 (PHP >=7.3)
Flavor: PCRE2 Finds escaped characters. No matter how many \ are present, it will always match either \\\. or \. (where . is the character).
Submitted by
Grayson Spidle
-
3 years ago
0
URL
PCRE2 (PHP >=7.3)
This pattern can detect URLs.
Submitted by
anonymous
-
3 years ago
0
Email
PCRE2 (PHP >=7.3)
no description available
Submitted by
AiAbdrahim
-
3 years ago
(Last modified 3 years ago)
0
Email
PCRE2 (PHP >=7.3)
A valid Email
Submitted by
AiAbdrahim
-
3 years ago
0
get first number from string
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
get main content if has :
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Minify HTML
PCRE2 (PHP >=7.3)
Remove Whitespace Remove Comment
Submitted by
Habibi Mustafa
-
3 years ago
0
cisco command
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Aplayer Icons Regex
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
6 digit Sort Code without dashes
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
ReName_01_
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
3 years ago
1
...
38
39
40
41
42
...
125
Media Tagger - Remove Square Brackets
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(?s)
(
\[
)
(
\d
)
(
\]
)
(
[
]
)
(?=
.
*
:LOOKUP
\3
=
(
\w
+
)
)
|
(
\[
(
\d
+
)
\]
)
[
]
)
(
(?<artist1>
Frank
Sinatra
)?
(
\s
-
\s
)
(?<title1>
.
*
)
(?<ext1>
\.
.
*
)
|
(?<title2>
.
*
)
(
\s
-
\s
)
(?<artist2>
Frank
Sinatra
)
(?<ext2>
\.
.
*
)
|
(?<title3>
.
*
)
(?<ext3>
\.
.
*
)
)
|
(?<dict>
RegExDictionary:
.
*
)
$
/
gmi
Open regex in editor
Description
Remove square brackets from Track number and optionally remove Artist Name from Title.
Submitted by
António Cruz
-
2 years ago