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 100 community submitted regex patterns...
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
-
a month ago
2023-08-28 15:32
(Last modified a month 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
-
a month ago
2023-08-28 15:43
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
MMM DDD YYYY
.NET (C#)
FEB MON 2023
Submitted by
anonymous
-
8 months ago
2023-02-06 12:42
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Parsing result of SQL Server version (SELECT @@VERSION)
.NET (C#)
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
7 months ago
2023-02-15 21:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Name and ID in curly braces
.NET (C#)
For a string that starts with '{' and ends with '}' looks for a name and id value within the curly braces. The name group should be trimmed when used to remove leading and trailing whitespace. Ex. {Test10} will result in 2 groups being returned Group 1: Test Group 2: 10
Submitted by
Ryan Felton
-
2 years ago
2022-03-08 16:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Наличие слова без учета регистра в тексте
.NET (C#)
Наличие слова без учета регистра в тексте
Submitted by
anonymous
-
2 years ago
2022-03-18 16:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
gubas2549-knju@force.com
.NET (C#)
gubas2549-knju@force.com
Submitted by
Welcome to Gboard clipboard, any text you copy will be saved here.
-
a year ago
2022-03-30 19:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Script Tag Json
.NET (C#)
asd
Submitted by
anonymous
-
a year ago
2022-03-31 13:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove CDATA tags
.NET (C#)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-27 17:22
(Last modified 2 months ago)
2023-07-19 20:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
List of email validation
.NET (C#)
Validate a list of emails separated by a semicolon. Supports emails with accents and other alphabets. Valid email: Abc@example.com;Abc.123@example.com;user+mailbox/department=shipping@example.com;éüöä^0@émäil.côm !#$%&'*+-/=?^_`.{|}~@example.com;"Abc@def"@example.com;"Fred Bloggs"@example.com;"Joe.\...
Submitted by
Mib
-
a year ago
2022-04-04 10:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NDC
.NET (C#)
parses all valid NDC codes with or without hyphens
Submitted by
joe.cox@fortyau.com
-
a year ago
2022-04-08 19:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Migrate infoboxes in AWB: Music phase 1
.NET (C#)
Turn comma separated values in three deprecated parameters into template calls. (timestamp not considered yet)
Submitted by
anonymous
-
a year ago
2022-04-10 20:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Migrate infoboxes in AWB: Music phase 3
.NET (C#)
Insert "|tracks=" before the first occurrence
Submitted by
anonymous
-
a year ago
2022-04-10 21:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Migrate infoboxes in AWB: Music phase 2
.NET (C#)
Remove deprecated parameters
Submitted by
anonymous
-
a year ago
2022-04-10 21:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
篩選MP Log Day
.NET (C#)
篩選MP Log Day
Submitted by
anonymous
-
a year ago
2022-04-14 15:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Missing copyright detector for Visual Studio (.NET)
.NET (C#)
Detects one match per file if that file is missing the expected copyright text. This works with Visual Studio IDE. If you are using Rider (PCRE2), you can replace both \b entries with \Q then \E
Submitted by
Kris Morness
-
a year ago
2022-04-27 16:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
E-mail
.NET (C#)
My first simple e-mail validator regex :)
Submitted by
anonymous
-
a year ago
2022-04-30 21:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match using named groups in .NET (C#)
.NET (C#)
Developed for posh-git
Submitted by
marckassay
-
a year ago
2022-06-17 14:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
.NET (C#)
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
Submitted by
The Fourth Bird
-
a year ago
2022-06-26 16:08
(Last modified a year ago)
2022-06-27 09:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ipv4 with optional port
.NET (C#)
ipv4 with optional port
Submitted by
anonymous
-
a year ago
2022-06-27 08:13
1
2
3
4
5
fix plot histogram calls
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(
__Internal64
\.
PlotHistogram
(?:
2D
)?
(?:
_
\d
+
)?
\(
.
*
)
(
__arg
(?:
5
|
6
)
)
(
.
*
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 months ago
2022-12-30 03:13