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
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate and split street and house number (leading house number)
ECMAScript (JavaScript)
Validate and split street address (street and house number) with leading house number
Submitted by
anonymous
-
2 months ago
2023-10-07 12:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate and split street and house number (trailing house number)
ECMAScript (JavaScript)
Validate and split street address (street and house number) with trailing house number
Submitted by
anonymous
-
2 months ago
2023-10-07 11:53
(Last modified 2 months ago)
2023-10-07 12:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate email address (unicode)
ECMAScript (JavaScript)
Validate unicode email addresses
Submitted by
anonymous
-
2 months ago
2023-10-07 11:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
goff
ECMAScript (JavaScript)
[ [ { "content": "_}24I:9t58Tu?m@e", "isParticipating": true, "groupNum": 0,...
Submitted by
anonymous
-
2 months ago
2023-10-04 05:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Alpha Numeric With Spaces & Limited Punctuation
ECMAScript (JavaScript)
This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-
Submitted by
anonymous
-
2 months ago
2023-09-27 22:04
(Last modified 2 months ago)
2023-10-04 16:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match each Unicode Characters, Symbols, and Emojis consecutively
ECMAScript (JavaScript)
RegExp matches each (combined) Unicode symbol, character, or emoji consecutively. Note: there are some edge cases where it does not combine some symbols that should be seen as one symbol (after Default Grapheme Cluster Boundary of UAX #29). For Unicode code point info see codepoints.net Also, see ...
Submitted by
MAZ01001
-
2 months ago
2023-09-26 02:02
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
-
2 months ago
2023-09-19 06:39
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
-
2 months ago
2023-09-18 10:01
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)
-
2 months 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
-
2 months 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
-
2 months ago
2023-09-14 21:34
(Last modified 2 months 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
-
2 months ago
2023-09-14 08:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL (URI) - TOTAL Breakdown: Named Groups (Supporting Literal, Relative, Dynamic URLs, with/without Filename/Ext, Query Parameters and/or Anchor Tags)
ECMAScript (JavaScript)
Need to FULLY Break Out EVERY Component of a URL? Like, as in "every constituent element individually accessible in its own named capture group?" Need it to be pre-optimized and fully ECMA-compliant? Want to see exhaustive unit tests proving these claims (144 are included; all 144 execute in 6.5ms. ...
Submitted by
@JJ for Nerdy Deeds, LLC
-
3 months ago
2023-09-08 16:51
(Last modified 3 months ago)
2023-09-08 16:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Funny Discord Thing
.NET (C#)
Submitted by
Deniz-seckin55
-
3 months ago
2023-08-28 15:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Discord Message JSON
.NET (C#)
Regex for a Discord Message as JSON Example JSON for Regex: { "id": "1145344233713188874",...
Submitted by
Deniz-seckin55
-
3 months ago
2023-08-28 15:32
(Last modified 3 months ago)
2023-08-28 16:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Discord Message JSON
.NET (C#)
Regex for one Discord Message
Submitted by
Deniz-seckin55
-
3 months ago
2023-08-28 15:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate Wikipedia URL and extract Article Title
ECMAScript (JavaScript)
This works against a list of hyperlinks from the 'USS Marmora (1862)' article You can include File: pages by removing the File:| from the regex. I could improve how the remaining query for urls containing index.php, for now I recommend splitting in your chosen programming language. ...
Submitted by
Martin Shaw
-
3 months ago
2023-08-28 03:16
(Last modified 3 months ago)
2023-08-28 03:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Nz postcodes - Auckland region
ECMAScript (JavaScript)
A regex to find if a postcode is in Auckland region (New Zealand)
Submitted by
brenmurrell
-
3 months ago
2023-08-23 09:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Regex
ECMAScript (JavaScript)
ECMAScript simple regex for email validation
Submitted by
@marquesjob
-
3 months ago
2023-08-20 17:48
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Decimal up to 15.2 digits in French and English culture
ECMAScript (JavaScript)
Validates that a given string is a number of up to 15 integer digits and up to 2 decimal digits. Group separators could be either comma or space class but can't be mixed. Decimal separator could be either comma (if comma was not a group delimiter) or dot. This variation uses small captures for mode...
Submitted by
BkQc
-
3 months ago
2023-08-16 18:38
(Last modified 3 months ago)
2023-08-30 15:14
1
2
3
4
5
...
174
Match IPv4 Valid
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
\.
\b
(
\d
{1,2}
|
1
\d
{2}
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\b
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
10 months ago
2023-01-27 19:38