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...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
French Insurance Number
.NET (C#)
French Insurance Number
Submitted by
Dohts
-
a year ago
2022-12-23 11:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
fix plot histogram calls
.NET (C#)
k
Submitted by
anonymous
-
a year ago
2022-12-30 03:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
https://rextester.com/JFUKE76014
.NET (C#)
0x9d9b6f05d7b72588f83cc60fda4286ba45d13924 Nonce 6324 Rash 0xa964e1ee4c92c25f47392f67b735095304631089b5f2173825b7e93f49f08d57 Bloco 3391586 Commit fb5aa46...
Submitted by
0x9d9b6f05d7b72588f83cc60fda4286ba45d13924
-
a year ago
2023-01-09 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
nick anme
.NET (C#)
mvp
Submitted by
doppler
-
a year ago
2023-01-12 01:31
(Last modified a year ago)
2023-01-12 01:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get h1-6 tag
.NET (C#)
(.*?)
Submitted by
OlegBel
-
a year ago
2023-01-17 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match IPv4 Valid
.NET (C#)
expression to capture valid IP
Submitted by
anonymous
-
10 months ago
2023-01-27 19:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
^[A-Z,a-z,\-, ,\&]+$
.NET (C#)
Koray Bilgi, Text-Regex
Submitted by
anonymous
-
10 months ago
2023-02-06 12:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
01 Jan 2022 Mon 01:02:03
.NET (C#)
01 Jan 2022 Mon 01:02:03
Submitted by
anonymous
-
10 months ago
2023-02-06 12:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
USD
.NET (C#)
USD
Submitted by
anonymous
-
10 months ago
2023-02-06 12:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minimum 10 herhangi dijit
.NET (C#)
Minimum 10 herhangi dijit
Submitted by
anonymous
-
10 months ago
2023-02-06 12:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
15.02.2022 15:00:00
.NET (C#)
15.02.2022 15:00:00
Submitted by
anonymous
-
10 months ago
2023-02-06 12:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get ip address (only ipv6) Validator
.NET (C#)
Get ip address (only ipv6) Validator
Submitted by
Mr.Tang
-
10 months ago
2023-02-20 19:35
(Last modified 10 months ago)
2023-02-21 12:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get ip address (only ipv4) Validator
.NET (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
10 months ago
2023-02-21 12:10
(Last modified 10 months ago)
2023-02-21 12:15
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
-
7 months ago
2023-05-23 08:29
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)
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)
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)
Camel-Case Splitter (preserves Acronyms)
.NET (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
5 months ago
2023-06-26 18:39
1
2
3
4
5
URL Validation
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-06-09 06:36