Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,660 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
correos
PCRE2 (PHP >=7.3)
correos
Submitted by
lamusaliza
-
a month ago
2023-10-19 21:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
打关随机数作弊用户uid列表
PCRE2 (PHP >=7.3)
打关随机数作弊用户uid列表
Submitted by
dong.luo
-
a month ago
2023-10-19 07:53
(Last modified a month ago)
2023-10-19 08:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Ikea web Indonesia
PCRE2 (PHP >=7.3)
Ikea website indonesia url regex
Submitted by
ival
-
a month ago
2023-10-19 05:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Identificador de números decimales válidos
PCRE2 (PHP >=7.3)
Se soportan los números de la forma +2.3, +.34, 2.3, .5, -3.3, -.3
Submitted by
anonymous
-
2 months ago
2023-10-17 05:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Full HTML recognition for Udacity Project
PCRE2 (PHP >=7.3)
Udacity AI for Trading - Project 6: Analyzing Stock Sentiment from Twits ( Sentiment Analysis) needs a HTML parsering. Examples came from the actual course exercise. Future improvements I could identify, make it a group and parser each /texttext/ pattern, if necessary ← perhaps it may have some ...
Submitted by
Eduardo Passeto
-
2 months ago
2023-10-16 12:49
(Last modified 2 months ago)
2023-10-16 12:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Durbar Bagerhat
PCRE2 (PHP >=7.3)
/Explore the latest news and updates about Bagerhat on Durbar Bagerhat, your go-to source for insightful articles and information/gm
Submitted by
Faisal Hossain
-
2 months ago
2023-10-15 11:52
(Last modified 2 months ago)
2023-10-15 11:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Workaround for IIS rewrite rule redirects with urls
PCRE2 (PHP >=7.3)
Make sure http[s]:// uses two slashes, not one. IIS rewrite rules removes double slashes in the raw URL, breaking YOURLS (PHP) for example. This regexp changes all single slashes to double after a web protocol, including nested querystrings.
Submitted by
DeveloperDog
-
2 months ago
2023-10-12 07:48
(Last modified 2 months ago)
2023-10-12 09:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Repeat character with custom symbol
PCRE2 (PHP >=7.3)
OK
Submitted by
UVT
-
2 months ago
2023-10-12 03:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 months ago
2023-10-11 20:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
testregexaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
aaa
-
2 months ago
2023-10-11 17:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
12px
PCRE2 (PHP >=7.3)
查找替换
Submitted by
anonymous
-
2 months ago
2023-10-09 06:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get number user format
PCRE2 (PHP >=7.3)
Get number user format
Submitted by
blurzoom
-
2 months ago
2023-10-08 04:28
(Last modified 2 months ago)
2023-10-09 06:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
INI Parser
PCRE2 (PHP >=7.3)
comments section key = value key = ltrim
Submitted by
foul11, raxdiam
-
2 months ago
2023-10-07 23:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 months ago
2023-10-06 15:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
EU VAT numbers
PCRE2 (PHP >=7.3)
Based on this expression and updated Oct 2023 using wikipedia
Submitted by
Henk-Jan @ Cargoplot
-
2 months ago
2023-10-06 07:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 months ago
2023-10-05 13:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 months ago
2023-10-05 13:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 months ago
2023-10-05 13:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 months ago
2023-10-04 19:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TVseriesFileName
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 months ago
2023-10-04 13:50
1
2
3
4
5
6
7
...
583
string substitution in bash behaving differently from PCRE(PHP<7.3>
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
)
_
(
\d
{1,3}
$
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-27 12:58