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...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Function arguments regex
PCRE (PHP <7.3)
A simple regex to match individual arguments of a function.
Submitted by
anonymous
-
8 months ago
2023-02-17 20:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Grupos
PCRE2 (PHP >=7.3)
grupos
Submitted by
anonymous
-
8 months ago
2023-02-17 17:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for gsub (combine value)
PCRE2 (PHP >=7.3)
xx
Submitted by
anonymous
-
8 months ago
2023-02-17 12:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv6 address validation
PCRE2 (PHP >=7.3)
address validation from the first two segments of an IPv6 address
Submitted by
@unblog
-
8 months ago
2023-02-17 10:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 address validation
PCRE2 (PHP >=7.3)
validation of IPv4 addresses
Submitted by
@unblog
-
8 months ago
2023-02-17 10:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Function Call
PCRE2 (PHP >=7.3)
Identify the functional call in a stack trace
Submitted by
anonymous
-
8 months ago
2023-02-17 08:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Azure Firewall traffic Logs
PCRE2 (PHP >=7.3)
Azure Firewall traffic Logs
Submitted by
anonymous
-
8 months ago
2023-02-16 07:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Azure Firewall Nat traffic
PCRE2 (PHP >=7.3)
Azure Firewall Nat traffic
Submitted by
anonymous
-
8 months ago
2023-02-16 07:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Crime List Fixer
PCRE2 (PHP >=7.3)
Final step in cleaning up some bad links
Submitted by
anonymous
-
8 months ago
2023-02-15 20:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matches MM/DD/YYYY for the years 1800 through 2099
PCRE2 (PHP >=7.3)
Source: https://stackoverflow.com/questions/8647893/regular-expression-leap-years-and-more Seems to be valid for 1800 through 2099. Requires leading zeros. Matches MM/DD/YYYY format only.
Submitted by
Andrew Macheret
-
8 months ago
2023-02-15 19:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
This regular expression matches one or more exclamation marks, with or without a space/newline character immediately following it.
PCRE2 (PHP >=7.3)
This regular expression matches one or more exclamation marks, with or without a space/newline character immediately following it.
Submitted by
anonymous
-
8 months ago
2023-02-15 11:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
8 months ago
2023-02-15 07:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse non-standard json like strings
PCRE2 (PHP >=7.3)
Parse non-standard json like strings
Submitted by
zhangtai
-
8 months ago
2023-02-15 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time with AM & PM
PCRE2 (PHP >=7.3)
This is a re that can validate time with date with AM and PM
Submitted by
anonymous
-
8 months ago
2023-02-14 18:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
telephone
PCRE2 (PHP >=7.3)
telephone
Submitted by
anonymous
-
8 months ago
2023-02-14 10:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
semantic tags
PCRE (PHP <7.3)
semantic tags
Submitted by
anonymous
-
8 months ago
2023-02-14 09:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pcb temps
PCRE2 (PHP >=7.3)
multiple pcb temps
Submitted by
anonymous
-
8 months ago
2023-02-14 09:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Simple calculator operation regex
PCRE2 (PHP >=7.3)
Matches operations with two numbers separated by the operational characters (x, -, รท, %) * the numbers can be negative* (can contain a - character before the number). It also acepts decimal notation with not zero (0). Example: 0.89 and .89 are both accepted values Acepted values example: -3x+5.0...
Submitted by
anonymous
-
8 months ago
2023-02-14 03:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JAVA SDK V3
PCRE2 (PHP >=7.3)
Java SDK v3
Submitted by
anonymous
-
8 months ago
2023-02-13 15:26
(Last modified 6 months ago)
2023-03-21 15:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
8 months ago
2023-02-13 13:54
1
...
24
25
26
27
28
29
30
...
580
e-mail regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^\w
+
(
\.
[
\w
-
]
+
)*
@
(
[
\w
-
]
+
\.
)*
\w
(
[
\w
-
]
+
\.
)+
[
\w
-
]
+
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
10 months ago
2022-11-28 05:45