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 17,000 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JSON object key matcher
ECMAScript (JavaScript)
Matches JSON object keys
Submitted by
Ariel Schiavoni
-
6 years ago
2017-06-21 15:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for MAC address with unit tests
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-21 09:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for MAC address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-21 09:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube ID Extractor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-20 08:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Referencia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-19 09:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OfficeStuff
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-18 07:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get file name from file path
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-18 06:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
div to other elements
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-17 07:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Clavister FW CONN
PCRE (PHP <7.3)
Parses out Clavister FW logs for SIEM mapping
Submitted by
anonymous
-
6 years ago
2017-06-17 04:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lint nested
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-16 14:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Build KB Call, #1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-15 20:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Html tags with numbers inside
PCRE (PHP <7.3)
no description available
Submitted by
apiyron
-
6 years ago
2017-06-14 20:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Date checker for X values
ECMAScript (JavaScript)
Work in progress
Submitted by
anonymous
-
6 years ago
2017-06-14 17:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate URLs
PCRE (PHP <7.3)
no description available
Submitted by
me
-
6 years ago
2017-06-14 08:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NZ Phone Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-14 03:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone numbers
PCRE (PHP <7.3)
Easy US phone numbers
Submitted by
anonymous
-
6 years ago
2017-06-13 19:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PLTF-1537 Validating Numbers to regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-13 17:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse JSON Date
PCRE (PHP <7.3)
Easiest Way to Use: $datetime = new DateTime(); $datetime->setTimestamp($timestamp); $datetime->modify($operator . $hours . ' seconds');
Submitted by
anonymous
-
6 years ago
2017-06-13 16:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PLTF-1537 Validating Numbers to regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-06-13 16:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Removal of Non Word Characters
ECMAScript (JavaScript)
An example of a regex to use when wanting to remove special characters from a string
Submitted by
anonymous
-
6 years ago
2017-06-13 15:36
1
...
531
532
533
534
535
536
537
...
850
+ = (1 a n vezes);
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
Regex
\d
+
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-04-10 23:03