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 2,240 community submitted regex patterns...
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
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)
Discord Message JSON
.NET (C#)
Regex for one Discord Message
Submitted by
Deniz-seckin55
-
a month ago
2023-08-28 15:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validar password
PCRE2 (PHP >=7.3)
Regex para validar una contraseña con un minimo 8 caracteres, maximo 16 y debe incluir minusculas, mayusculas, digitos y un caracter especial. Todo sin espacios
Submitted by
anonymous
-
a month ago
2023-08-27 18:39
(Last modified a month ago)
2023-08-27 18:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Hungarian license plates from 2022
PCRE2 (PHP >=7.3)
All regular and vanity Hungarian plates are included. Special plates, police, ambulance, etc. are not included.
Submitted by
gergelyfuzi
-
a month ago
2023-08-25 12:16
(Last modified a month ago)
2023-08-25 12:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ISO 3166-1 alpha 2
PCRE2 (PHP >=7.3)
Sourced from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Submitted by
anonymous
-
a month ago
2023-08-23 13:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ISO 639-1
PCRE2 (PHP >=7.3)
Matches ISO 639-1 language codes. Sourced from https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Submitted by
Jason Whitehead
-
a month ago
2023-08-23 12:57
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
regex101: RFC1918 Private IPv4 Addresses, but limited to matching /24 subnet host IDs
PCRE2 (PHP >=7.3)
POSIX ERE compatible, suitable for usage in Bash [ testing Attributions Derived from [regex101: RFC1918 - Private IPv4 addresses by 0100101101001.
Submitted by
anonymous
-
a month ago
2023-08-23 07:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CH IBAN in Text finden
PCRE2 (PHP >=7.3)
Der Ausdruck findet alle CH (Schweizer) IBAN (International Bank Account Number) in einem beliebigen Text.
Submitted by
anonymous
-
a month ago
2023-08-18 14:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find literal yyyy-mm-dd dates
PCRE2 (PHP >=7.3)
to find usage of magic strings in a codebase
Submitted by
anonymous
-
a month ago
2023-08-15 14:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Split transcript into multiple columns
PCRE2 (PHP >=7.3)
Submitted by
Stephen Stroup
-
a month ago
2023-08-14 21:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find all PHP short echo tags
PCRE2 (PHP >=7.3)
Find all short echo tags and convert to Laravel Blade echo brackets {{ }}
Submitted by
matasbi
-
a month ago
2023-08-11 14:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Multiline Address
PCRE2 (PHP >=7.3)
Match multiline address formats
Submitted by
anonymous
-
2 months ago
2023-08-11 04:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IP matching
PCRE2 (PHP >=7.3)
using \g to match repeated pattern
Submitted by
binger
-
2 months ago
2023-08-11 01:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
template string match
PCRE2 (PHP >=7.3)
match like this: ${foo}
Submitted by
anonymous
-
2 months ago
2023-08-10 15:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
regex that allows digits, space and hyphen
PCRE2 (PHP >=7.3)
regex that allows digits, space and hyphen
Submitted by
Animesh
-
2 months ago
2023-08-10 08:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
匹配markdown代码块
PCRE2 (PHP >=7.3)
组1:编程语言 组2:代码
Submitted by
若小仟
-
2 months ago
2023-08-10 07:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
File path parser
PCRE2 (PHP >=7.3)
Parses a file path into 3 capture groups: 1: path (may be empty) 2: filename (required) 3: extension (may be empty)
Submitted by
Perigoso
-
2 months ago
2023-08-09 13:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get type from calypso XML
PCRE2 (PHP >=7.3)
How to get type from calypso XML by key words
Submitted by
AlexMia
-
2 months ago
2023-08-08 13:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPv6 前缀格式
PCRE2 (PHP >=7.3)
IPv6 前缀格式
Submitted by
anonymous
-
2 months ago
2023-08-08 04:21
1
2
3
4
5
6
...
112
UNC Path Component Validation - Sharename
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(?=
^.
{1,80}
$
)
(
^
[^
\p{C}
<>+=;,*?
\\\/\[\]\:\|""
]
+
$
)
"
gs
Open regex in editor
Description
Loading markdown...
Submitted by
thejamesdecker
-
9 months ago
2023-01-02 01:10