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 3,780 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
capture strings between starts and ends line
ECMAScript (JavaScript)
capture any strings between starts and ends line
Submitted by
anonymous
-
7 months ago
2023-05-22 17:36
(Last modified 2 months ago)
2023-09-26 04:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
vscode-f5 xc reserved ports issue #209
ECMAScript (JavaScript)
https://github.com/f5devcentral/vscode-f5/issues/209
Submitted by
anonymous
-
6 months ago
2023-05-24 12:57
(Last modified 6 months ago)
2023-05-24 14:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
6 months ago
2023-05-26 00:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Egyptian National ID
ECMAScript (JavaScript)
This validates the components of the Egyptian national ID ... See details (Arabic)
Submitted by
Mahmoud Mostafa
-
6 months ago
2023-05-28 06:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Egyptian Phone Numbers
ECMAScript (JavaScript)
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
6 months ago
2023-05-28 06:37
(Last modified 6 months ago)
2023-05-28 07:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Laughter
ECMAScript (JavaScript)
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
6 months ago
2023-05-28 08:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Official Emeil validation Regex
ECMAScript (JavaScript)
Regex from the Mail::RFC822::Address: regexp-based address validation Access here
Submitted by
Igor Julliano Aguiar Sotero
-
6 months ago
2023-06-01 13:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
fcc-title-case-a-sentence
ECMAScript (JavaScript)
a regex to find first letter of each word
Submitted by
anonymous
-
6 months ago
2023-06-05 03:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4-CIDR
ECMAScript (JavaScript)
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
6 months ago
2023-06-05 12:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Redis command parser
ECMAScript (JavaScript)
Modified source from https://stackoverflow.com/a/64833638/1454045
Submitted by
Nathaniel Schweinberg
-
6 months ago
2023-06-05 15:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JabRef biblatex alphabetic adaption
Java 8
A regex used to emulate the biblatex alphabetic citation key style in JabRef: https://discourse.jabref.org/t/use-field-markers-in-regex-for-citation-key-generator/3842
Submitted by
anonymous
-
6 months ago
2023-06-06 15:00
(Last modified 6 months ago)
2023-06-06 16:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CSS @import statement
ECMAScript (JavaScript)
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
6 months ago
2023-06-07 10:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
6 months ago
2023-06-07 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
6 months ago
2023-06-07 14:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
6 months ago
2023-06-08 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
6 months ago
2023-06-08 12:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
6 months ago
2023-06-08 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
6 months ago
2023-06-11 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Markdown JSON codeblock match
ECMAScript (JavaScript)
Useful to extract JSON from LLM markdown responses
Submitted by
Lamer217
-
6 months ago
2023-06-13 13:34
(Last modified 6 months ago)
2023-06-13 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Options symbol parse
ECMAScript (JavaScript)
parse option symbol
Submitted by
anonymous
-
6 months ago
2023-06-13 18:29
1
...
148
149
150
151
152
153
154
...
189
positivehead_dollar
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(?=
\w
{5,}
)
(?=
\D
*
\d
{2}
$
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-09-06 15:20