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...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Phone number for all countries
.NET (C#)
Phone number for all countries. Valid symbols: ( ), -, whitespace
Submitted by
Alexander Smirnov
-
8 months ago
2023-02-07 07:33
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
-
8 months ago
2023-02-06 12:57
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
-
8 months ago
2023-02-06 12:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
USD
.NET (C#)
USD
Submitted by
anonymous
-
8 months ago
2023-02-06 12:53
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
-
8 months ago
2023-02-06 12:52
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
-
8 months ago
2023-02-06 12:47
-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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
log timestamp
Golang
extract time stamp from log entry
Submitted by
anonymous
-
8 months ago
2023-01-30 15:42
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
-
8 months ago
2023-01-27 19:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get h1-6 tag
.NET (C#)
(.*?)
Submitted by
OlegBel
-
8 months ago
2023-01-17 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
nick anme
.NET (C#)
mvp
Submitted by
doppler
-
8 months ago
2023-01-12 01:31
(Last modified 8 months ago)
2023-01-12 01:35
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
-
9 months ago
2023-01-09 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RE2 match of APRS-IS header information
Golang
This re2 (using Go in my case) matches the APRS-IS header. The format of the APRS-IS packet is TNC2 standard: SOURCE>DESTINATION,PATH:PACKET ...
Submitted by
Jack Hamm (jack@wv6l.net)
-
9 months ago
2023-01-07 18:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Golang Get variables In Js
Golang
To get
Submitted by
anonymous
-
9 months ago
2023-01-06 18:06
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
-
9 months ago
2023-01-02 01:10
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Replace sub-strings in string
.NET (C#)
Replace sub-strings in string
Submitted by
anonymous
-
9 months ago
2023-01-01 01:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
fix plot histogram calls
.NET (C#)
k
Submitted by
anonymous
-
9 months ago
2022-12-30 03:13
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
-
9 months ago
2022-12-23 11:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Permiso CRE SAT México
.NET (C#)
Valida clave o permiso de la CRE
Submitted by
Omar Chávez / Documentación SAT - Comeplemento Nacional CFDIs
-
9 months ago
2022-12-20 02:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date String ISO Pattern
Golang
Date String ISO Pattern matcher
Submitted by
Lucas Morais
-
9 months ago
2022-12-19 15:16
1
2
3
4
5
6
...
15
CAN regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
^
(?<mID>
24
)
(?<moduleID>
[
1
-
6
]
)
(
(
(?<dlc>
4
)
(?<payload>
[
0
-
9A
-
F
]
{8}
)
)
|
(
(?<dlc>
7
)
(?<payload>
[
0
-
9A
-
F
]
{14}
)
)
|
(
(?<dlc>
1
)
(?<payload>
[
0
-
9A
-
F
]
{2}
)
)
|
(
(?<dlc>
3
)
(?<payload>
[
0
-
9A
-
F
]
{6}
)
)
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-11-02 15:00