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 3,080 community submitted regex patterns...
1
Colombian Phones
PCRE2 (PHP >=7.3)
Regex for Colombian phones (without +)
Submitted by
anonymous
-
a year ago
1
Ecuadorian Phones
PCRE2 (PHP >=7.3)
Regex for Ecuadorian phones (without +)
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Bolivian Phones
PCRE2 (PHP >=7.3)
Regex for Bolivian phones (without +)
Submitted by
anonymous
-
a year ago
1
Mexican Phones
PCRE2 (PHP >=7.3)
Regex for Mexican phones (without +)
Submitted by
anonymous
-
a year ago
1
Chilean Phones
PCRE2 (PHP >=7.3)
Regex for Chilean phones (without +)
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Argentinian Phones
PCRE2 (PHP >=7.3)
Regex for Argentinian phones (without +)
Submitted by
anonymous
-
a year ago
1
Codice fiscale
PCRE2 (PHP >=7.3)
Trova la stringa corrispondente ad un codice fiscale italiano
Submitted by
anonymous
-
a year ago
1
TVseriesFileName
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
1
Match the distinct letters used in a string
PCRE2 (PHP >=7.3)
This finds a letter and omits all other instances of that letter, leaving you only the distinct letters used in the string.
Submitted by
Ember B
-
a year ago
1
Get submodule paths from `git submodule status` output
PCRE2 (PHP >=7.3)
Useful for automation of making submodule paths as trusted folders for git.
Submitted by
Vadim Reutskii
-
a year ago
1
DATE FORMAT REGEX ALL COMBINAISIONS
PCRE2 (PHP >=7.3)
For the day: d Displays the day as a number without a leading zero (1-31). dd Displays the day as a number with a leading zero (01-31). ddd Displays the day as an abbreviation (Sun-Sat) dddd Displays the day as a full name (Sunday-Saturday) ...
Submitted by
EYA GHACHEM
-
a year ago
1
FORMAT DATE WITH NO SEPARATOR
PCRE2 (PHP >=7.3)
For the day: d Displays the day as a number without a leading zero (1-31). dd Displays the day as a number with a leading zero (01-31). ddd Displays the day as an abbreviation (Sun-Sat) dddd Displays the day as a full name (Sunday-Saturday) ...
Submitted by
EYA GHACHEM
-
a year ago
1
EU VAT numbers
PCRE2 (PHP >=7.3)
Based on this expression and updated Oct 2023 using wikipedia
Submitted by
Henk-Jan @ Cargoplot
-
a year ago
1
CFF-definitions.reference.PMCID (1.3.0)
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF), v1.3.0
Submitted by
stephan druskat, jurriaan h. spaaks
-
a year ago
1
INI Parser
PCRE2 (PHP >=7.3)
comments section key = value key = ltrim
Submitted by
foul11, raxdiam
-
a year ago
1
Get number user format
PCRE2 (PHP >=7.3)
Get number user format
Submitted by
blurzoom
-
a year ago
(Last modified a year ago)
1
12px
PCRE2 (PHP >=7.3)
查找替换
Submitted by
anonymous
-
a year ago
1
testregexaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
aaa
-
a year ago
1
ipv4 and ipv6 with mask in CIDR
PCRE2 (PHP >=7.3)
Match and validate both ipv4, ipv6 and CIDR notation mask!
Submitted by
Stefanos Mitropoulos
-
a year ago
1
Repeat character with custom symbol
PCRE2 (PHP >=7.3)
OK
Submitted by
UVT
-
a year ago
1
...
124
125
126
127
128
...
154
Community Library Entry
0
Regular Expression
Python
r"
(?<=
^
\*
page
)
(?P<pg>
[
\d
]
{1,3}
)
|
(?<!
;
)
(?P<txt_a>
[
]
.
*
)
(?=
\[
lr
\]
\n
)
|
(?<!
;
)
(?P<txt_b>
^
[
]
{2}
.
*
)
|
(?P<txt_c>
@align
anchor=
\"
center
\"
text=
.
+
)
|
(?P<txt_d>
^
[^
*@[;
]
.
+
)
"
gm
Open regex in editor
Description
Attempting to parse Fate/Stay Night scripts nicely
Submitted by
anonymous
-
a year ago