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
substring
PCRE (PHP <7.3)
substring
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
Consecutive check
ECMAScript (JavaScript)
Check if there's consecutive chars
Submitted by
anonymous
-
6 years ago
0
11
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
REgex OR
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 no repeats only numbers
ECMAScript (JavaScript)
no description available
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
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
horizontal whitespaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Educadhoc
PCRE (PHP <7.3)
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
Parse Excel Autopath case numbers
Python
no description available
Submitted by
anonymous
-
6 years ago
0
exclude
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
databinary
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
urls
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
smartax
Golang
no description available
Submitted by
anonymous
-
6 years ago
0
Word
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Selección de números
PCRE (PHP <7.3)
Ejemplo de REGEX 01
Submitted by
anonymous
-
6 years ago
0
Only allow latin chars and whitespaces
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
...
510
511
512
513
514
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
[
\w
_.-
]
{1,}
$
/
gm
Open regex in editor
Description
One match
Submitted by
https://stackoverflow.com/questions/4549654/get-filename-from-url-using-regular-expressions-or-javascript
-
6 years ago