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 11,600 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
4 days ago
2023-12-01 16:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get text after parenthesis.
Python
This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title
Submitted by
anonymous
-
8 days ago
2023-11-27 11:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPv4+CIDR(optional)
Python
Strict validator for IPv4 with optional CIDR Disallows 00 in any octet
Submitted by
ophers
-
13 days ago
2023-11-22 15:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
15 days ago
2023-11-20 15:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email Address Validation
Python
RegEx pattern to match email addresses. Visit the detailed tutorial to learn more.
Submitted by
Minh Vu
-
17 days ago
2023-11-18 09:04
(Last modified 17 days ago)
2023-11-18 09:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
NANP Modern Plan US Telephone / Phone number
Python
Match 10-digit phone number that mostly complies with NANP Modern Plan. https://en.wikipedia.org/wiki/North_American_Numbering_Plan Simple explanation: ...
Submitted by
makinhey
-
18 days ago
2023-11-17 01:14
(Last modified 17 days ago)
2023-11-17 20:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check Email Validity
Java 8
Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.
Submitted by
Alain TOMASIAN <alain.tomasian@kaptus.fr>
-
20 days ago
2023-11-15 10:54
(Last modified 20 days ago)
2023-11-15 17:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
21 days ago
2023-11-14 09:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
77870294
PCRE (PHP <7.3)
618001/041881 564094
Submitted by
960203095053
-
23 days ago
2023-11-12 11:36
(Last modified 23 days ago)
2023-11-12 11:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
задание_03
Python
задание_03
Submitted by
anonymous
-
23 days ago
2023-11-12 02:13
(Last modified 23 days ago)
2023-11-12 02:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
a month ago
2023-11-05 16:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
a month ago
2023-11-05 12:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Initializing identifiers
.NET (C#)
Initializing identifiers
Submitted by
anonymous
-
a month ago
2023-11-04 12:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple URL validation
.NET (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
a month ago
2023-10-27 11:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
2 months ago
2023-10-18 07:16
(Last modified a month ago)
2023-10-26 14:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
2 months ago
2023-10-12 04:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
2 months ago
2023-10-12 04:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
2 months ago
2023-10-12 04:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
LNAV Format for Salt Log File
Python
Beginnings of defining a log format for Salt to use within LNAV. https://docs.lnav.org/en/latest/formats.html
Submitted by
anonymous
-
2 months ago
2023-10-10 22:49
(Last modified 2 months ago)
2023-10-11 01:09
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Placeholder resolving
.NET (C#)
.Net regular expression for resolving placeholders in the format of ${rewriter(multilevel:key)?fallback} (+ variations)
Submitted by
anonymous
-
2 months ago
2023-10-07 19:39
1
2
3
4
...
580
Invalid Windows Filename Chars
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
[
\x00-\x1F\x7F
<>:"
\/\\
|?*
]
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 months ago
2023-09-04 05:47
(Last modified 3 months ago)
2023-09-04 05:54