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 300 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN regex
.NET (C#)
n
Submitted by
anonymous
-
a year ago
2022-11-02 15:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
P4 file info
.NET (C#)
just p4 file command output match
Submitted by
anonymous
-
a year ago
2022-11-01 06:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SSID Pattern
.NET (C#)
Length must be 7 digits Every character must be an integer
Submitted by
Abhi Reddy
-
a year ago
2022-10-23 21:18
(Last modified a year ago)
2022-10-23 23:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Initials
.NET (C#)
get the initial of a strings
Submitted by
Eddie Choong
-
a year ago
2022-10-17 02:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL
.NET (C#)
(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by
anonymous
-
a year ago
2022-10-03 23:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
a year ago
2022-09-26 13:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Table Parse IPID
.NET (C#)
Match 1 is the IPID
Submitted by
Tres Little
-
a year ago
2022-09-19 02:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match token and optional convert to type in string
.NET (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
a year ago
2022-09-16 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
a year ago
2022-09-15 14:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
title and page
.NET (C#)
find title and page in text
Submitted by
anonymous
-
a year ago
2022-09-07 03:55
(Last modified a year ago)
2022-09-07 11:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
7zip file type regex
.NET (C#)
header of output from > 7z i
Submitted by
ninmonkey
-
a year ago
2022-09-06 14:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
custom email
.NET (C#)
custom email
Submitted by
anonymous
-
a year ago
2022-08-30 13:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ruby Gemspec Versioning
Golang
Determine the version value in a gemspec configuration file
Submitted by
Ori
-
a year ago
2022-08-30 13:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
Golang
11
Submitted by
anonymous
-
a year ago
2022-08-26 15:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Date From DateTime ISO 8601
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
-
a year ago
2022-08-22 10:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Any WhiteSpace Character
.NET (C#)
Any WhiteSpace Character
Submitted by
anonymous
-
a year ago
2022-08-21 12:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sdfsfd
.NET (C#)
sdfdsf
Submitted by
anonymous
-
a year ago
2022-08-18 16:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sanitize CSV Export Expression for regex.replace (this regex) with empty string
.NET (C#)
see owasp recommendation for things to remove from a csv export. this expression matches on following characters [. , ; + = - @ ' "] also carriage return make sure to clear strings for whitespace and choose your preferred methods for additional security from the examples in the owasp documentation...
Submitted by
anonymous
-
a year ago
2022-08-18 16:41
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Zoom links, only with passwords
.NET (C#)
Group 1 will have meeting id, group 2 will have password
Submitted by
anonymous
-
a year ago
2022-08-17 19:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Username regex
.NET (C#)
Matches alphanumeric, @, . , -
Submitted by
Ethan Pedersen
-
a year ago
2022-08-16 16:34
1
2
3
4
5
6
7
8
...
15
Script Tag Json
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
^\s
*
vm
.
Chapters
=
(
\[
[
\w\d\s
:
\"
,{}-
]
*
\]
)
;
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-03-31 13:48