Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
0
databinary
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
exclude
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Parse Excel Autopath case numbers
Python
no description available
Submitted by
anonymous
-
6 years ago
0
GitHub and GitLab URL detection
ECMAScript (JavaScript)
Detects github and gitlab urls and gives back the domain (either github.com or gitlab.com) and the author + repo name
Submitted by
anonymous
-
6 years ago
0
Educadhoc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
horizontal whitespaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Find specific document cookie value
ECMAScript (JavaScript)
Finds the value of a specific cookie. Use it in in this format: alert(document.cookie.replace((?:(?:^|.;\s)test2\s\=\s().$)|^.*$)) The above code will find the value of the cookie called test2 and display it in a alert dialog.
Submitted by
anonymous
-
6 years ago
0
REGEX to parse IIS7 Log File into FluentD
PCRE (PHP <7.3)
This regex parses the entire line of the IIS log files (without detail on the AgentID) for usage into FluentD. The original was writen by Juan Carniglia. Link I've updated to move the spaces out of the capture, and to make the csmethod specific to GET/POST/etc.
Submitted by
Juan Carniglia
-
6 years ago
0
Regex no repeats only numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex AND
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
REgex OR
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
11
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Consecutive check
ECMAScript (JavaScript)
Check if there's consecutive chars
Submitted by
anonymous
-
6 years ago
0
Cell number check
ECMAScript (JavaScript)
Check if first char is 0 followed by 9 digits
Submitted by
anonymous
-
6 years ago
0
substring
PCRE (PHP <7.3)
substring
Submitted by
anonymous
-
6 years ago
0
Inline and comment blocks
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Host and optional www. subdomain matching
PCRE (PHP <7.3)
matches the http portion of a url, both http:// and https://, and also matches the www. portion if that is included.
Submitted by
anonymous
-
6 years ago
0
Look Ahead - Dont include anchor urls
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Toast Premium support try 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
new url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
490
491
492
493
494
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(?<=
\"
)?
)
--help
(?(1)
(?!
\"
)
)
/
gm
Open regex in editor
Description
Find string a string not withing quote
Submitted by
anonymous
-
3 years ago