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,480 community submitted regex patterns...
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
6 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
-
6 months ago
2023-06-11 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Validation
.NET (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
6 months ago
2023-06-09 06:36
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
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
-
6 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
-
6 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
-
6 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
-
6 months ago
2023-06-05 03:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Youtube Video Id
.NET (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
6 months ago
2023-06-05 02:15
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Wikipedia ISO 4217 (Currency Codes) table to C# enum
.NET (C#)
This converts the values in this) table to C# code. Example: pulic enum Iso4217 { /* output here */...
Submitted by
Diemaco
-
6 months ago
2023-05-31 08:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
for killerswim
.NET (C#)
a
Submitted by
anonymous
-
6 months ago
2023-05-29 23:19
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)
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)
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
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
-
6 months ago
2023-05-26 20:32
(Last modified 6 months ago)
2023-05-26 20:33
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)
Replace namespaces in xpath with local-name
.NET (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
6 months ago
2023-05-23 08:29
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
-
6 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)
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
6 months ago
2023-05-22 15:56
1
2
3
4
5
6
7
8
...
174
Task6.1
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
^
(
.
+
)
@
(
.
+
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-11-04 16:43