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,560 community submitted regex patterns...
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
-
3 months ago
2023-06-13 13:34
(Last modified 3 months ago)
2023-06-13 15:17
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
3 months ago
2023-06-12 09:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
4 months ago
2023-06-11 11:42
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
-
4 months ago
2023-06-08 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
4 months ago
2023-06-08 12:04
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
-
4 months ago
2023-06-08 11:39
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
-
4 months ago
2023-06-07 14:45
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
-
4 months ago
2023-06-07 14:44
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
-
4 months ago
2023-06-07 10:58
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
-
4 months ago
2023-06-06 15:00
(Last modified 4 months ago)
2023-06-06 16:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Password validation
ECMAScript (JavaScript)
Password requirements: Contains at least one uppercase letter. Contains at least one lowercase letter. Contains at least one digit. Does not contain any whitespace characters. Has a minimum length of 8 characters.
Submitted by
anonymous
-
4 months ago
2023-06-05 21:59
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
-
4 months ago
2023-06-05 15:32
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
-
4 months ago
2023-06-05 12:57
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
-
4 months ago
2023-06-05 03:24
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
-
4 months ago
2023-06-01 13:35
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
-
4 months ago
2023-05-28 08:48
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
-
4 months ago
2023-05-28 06:37
(Last modified 4 months ago)
2023-05-28 07:27
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
-
4 months ago
2023-05-28 06:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match eslint packages other than next.js
ECMAScript (JavaScript)
This could be used to group eslint stuff in renovate config for a next.js project. Since you're intended to keep eslint-plugin-next at the same version as next itself, you would want to group it with next instead. Using negative lookahead we can ignore eslint-config-next (or anything else you may wi...
Submitted by
Mitsunee
-
4 months ago
2023-05-26 20:32
(Last modified 4 months ago)
2023-05-26 20:33
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
-
4 months ago
2023-05-26 00:15
1
2
3
4
5
6
7
...
178