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 5,680 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
my
PCRE2 (PHP >=7.3)
replace first line and second
Submitted by
MH
-
17 hours ago
2023-09-24 09:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parser
PCRE2 (PHP >=7.3)
for mail
Submitted by
anonymous
-
2 days ago
2023-09-22 14:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Standard URI Groups
PCRE2 (PHP >=7.3)
Split URI parts into usable groups based on PCRE2 Regex
Submitted by
Gashbeer
-
3 days ago
2023-09-21 23:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex without 7 and 810 at first
PCRE2 (PHP >=7.3)
regex without 7 and 810 at first
Submitted by
anonymous
-
4 days ago
2023-09-21 12:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
PASSWORD COMPLEXITY
PCRE2 (PHP >=7.3)
PASSWORD COMPLEXITY
Submitted by
anonymous
-
5 days ago
2023-09-19 17:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
din-91379.datatypeC
PCRE2 (PHP >=7.3)
DE Der Datentyp C wurde für alle normativen Schriftzeichen der DIN-Norm entworfen. Er ist somit die technische Umsetzung der Schnittstellenvereinbarung Alle nach Norm DIN 91379 normativen Schriftzeichen. Texte mit griechischen oder kyrillischen Buchstaben oder mit erweiterten (nicht-normativen) Nich...
Submitted by
rhildebr
-
5 days ago
2023-09-19 14:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex URL validation pattern
ECMAScript (JavaScript)
Regex URL validation pattern
Submitted by
Septian Maulana
-
6 days ago
2023-09-19 06:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
#MGBookChat
PCRE2 (PHP >=7.3)
The hashtag that identifies topics in middle-grade literature.
Submitted by
LHnatiuk
-
6 days ago
2023-09-19 04:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get Decathlon Product URL
PCRE2 (PHP >=7.3)
Match decathlon product detail url
Submitted by
anonymous
-
7 days ago
2023-09-18 12:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex to find URLs in text
ECMAScript (JavaScript)
Regex to find URLs in text
Submitted by
Saheed Odulaja
-
7 days ago
2023-09-18 10:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
HTML5 email validation
PCRE2 (PHP >=7.3)
Source: https://html.spec.whatwg.org/#e-mail-state-(type=email)
Submitted by
anonymous
-
7 days ago
2023-09-18 00:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TV/Movie
PCRE2 (PHP >=7.3)
This is my first attempt so umm ya .. Grab Filename: Fname Season: se Episode: ep Year: yr
Submitted by
TheMorgue
-
7 days ago
2023-09-17 15:17
(Last modified 6 days ago)
2023-09-19 14:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Discord Token Regex
PCRE2 (PHP >=7.3)
Regex that will verify if a valid token has been provided. This comes directly from Discord's source.
Submitted by
Discord
-
9 days ago
2023-09-16 14:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
amp;
PCRE2 (PHP >=7.3)
subtitui
Submitted by
seidao
-
9 days ago
2023-09-15 14:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cron Job Regular Expression for JavaScript / ECMAScript
ECMAScript (JavaScript)
Simple pattern for validating Cron Job descriptors in your JavaScript / TypeScript / ECMAScript projects. Includes support for date ranges, day ranges, digit ranges, divisors... all of the things you'd expect to encounter in possible Cron values.
Submitted by
Nicholas Berlette (https://github.com/nberlette)
-
10 days ago
2023-09-14 23:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Non-Empty String
ECMAScript (JavaScript)
This simply checks if the string is not empty spaces.
Submitted by
anonymous
-
10 days ago
2023-09-14 21:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Javascript Email Verification RFC5322
ECMAScript (JavaScript)
Original credit for this expression goes to: https://emailregex.com/
Submitted by
anonymous
-
10 days ago
2023-09-14 21:34
(Last modified 10 days ago)
2023-09-14 22:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find the function definition based on indentation
ECMAScript (JavaScript)
check the code
Submitted by
anonymous
-
11 days ago
2023-09-14 08:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Correo Electrónico
PCRE2 (PHP >=7.3)
Validar un correo electrónico con una expresión regular básica
Submitted by
anonymous
-
11 days ago
2023-09-14 02:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
números html
PCRE2 (PHP >=7.3)
numeros
Submitted by
anonymous
-
12 days ago
2023-09-12 23:32
1
2
3
4
...
284
Major.Minor.Patch Regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
\d
+
\.
)
(
\d
+
\.
)
(
\*
|
\d
+
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Rónmag
-
4 months ago
2023-06-01 14:56