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 320 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
a year ago
2022-10-10 10:07
(Last modified a year ago)
2022-10-10 10:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
UNC Path Component Validation - Sharename
.NET (C#)
There are specific requirements for the different components of a UNC path. While it's possible to try and validate the entire UNC path in one go, you quite often end up needing to break the path down anyway unless simply handing it off to some other library (in which case they should be providing v...
Submitted by
thejamesdecker
-
a year ago
2023-01-02 01:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
9 months ago
2023-03-15 22:00
(Last modified 9 months ago)
2023-03-15 22:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Лямбды для OneScript
.NET (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
8 months ago
2023-03-23 12:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex Card Name - Custom
.NET (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
8 months ago
2023-03-24 08:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
8 months ago
2023-03-27 23:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
json value extract
Java 8
json value extract
Submitted by
anonymous
-
8 months ago
2023-04-01 02:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check Windows file name
.NET (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
8 months ago
2023-04-06 01:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Türkiye Araç Plaka Regexi - Türkiye Car Plate Regex
Java 8
Gist link for Java : https://gist.github.com/Gencturk-m/9962ce1e1dcf4dd9307062e34b023183 Aşağıdaki yapıdaki plakaları kabul eder: "01-81 X 9999", "01-81 X 99999"...
Submitted by
Melih Gençtürk - https://github.com/gencturk-m
-
7 months ago
2023-04-24 20:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
date time validation
.NET (C#)
Validation of the date of time, taking into account the high year in the format date.ToString("yyMMdd-hh_mm_ss").
Submitted by
Oleksii Serikov (alex@neochrom.biz)
-
7 months ago
2023-05-04 16:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phrase enclosed case insensitive
.NET (C#)
Match everything enclosed, say, a phrase, with case insensitive.
Submitted by
kosalanuwan
-
7 months ago
2023-05-09 15:42
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
html <Title>
Java 8
htnle
Submitted by
erichologist
-
4 months ago
2023-08-09 16:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract any link or endpoint
Java 8
Extract any link or endpoint from 1- HTML page source 2- HTTP responses 3- JS files Feel free to contact me on Telegram https://t.me/c4ir0 if you:...
Submitted by
Cairo
-
3 months ago
2023-08-25 22:32
(Last modified 3 months ago)
2023-08-27 08:35
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)
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)
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)
Match many cases of 8601
Java 8
This is still a working in progress Need to do Unit Tests and search for more use cases Match partial cases of 8601 such as: missing offset missing time...
Submitted by
jpmand
-
3 months ago
2023-08-31 11:08
(Last modified 3 months ago)
2023-08-31 14:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSV
Java 8
Crude CSV regex to split only by characters surrounded by non-whitespace characters. Ignore that it dosen't highlight all of the other commas in the editor. If you select the g regex flag it will properly show here, but not work in Java. Credit to @merosity (Merosity#0135) on Discord!
Submitted by
Merosity, regice202
-
3 months ago
2023-09-09 10:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract text strings from repeating text fields followed by a suffix
Java 8
This regex expression is useful for extracting only the text string from a value in a column that may contain values from individual rows with repeat strings tagged with a suffix. For example - Row 1: "Sales (#1)", Row 2: "Sales Match (#2)". From the shared examples, this regex will extract the text...
Submitted by
nilotpalc
-
2 months ago
2023-09-22 11:56
1
2
3
4
5
6
...
16
Regex Card Name - Custom
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
^
[
a
-
zA
-
Z
\s\d
\/\+\(\)\#\&
]
*
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 months ago
2023-03-24 08:53