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,020 community submitted regex patterns...
0
filestore directory
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
filestore filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Enclose <div> tag with <p> tag when inside <p> tag
PCRE (PHP <7.3)
Change the tags only when they are within a tag.
Submitted by
LukStorms
-
8 years ago
0
version tag
PCRE (PHP <7.3)
Verify if the given text is a version tag, like git tags for versions in the git flow method
Submitted by
bruno-delfino1995
-
8 years ago
0
Get shortcode
PCRE (PHP <7.3)
Get shortcode
Submitted by
khiconit
-
8 years ago
0
filename and extension
PCRE (PHP <7.3)
no description available
Submitted by
4B1D F4DL14N N
-
8 years ago
0
po box extracter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Check not minified file
PCRE (PHP <7.3)
This regex will match only filenames not containing the ".min" marker
Submitted by
anonymous
-
8 years ago
0
UK phone numbers
PCRE (PHP <7.3)
Source: http://stackoverflow.com/questions/36777840/how-to-validate-phone-number-in-laravel-5-2 Thanks to: Nady Shalaby
Submitted by
Nady Shalaby
-
8 years ago
0
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
8 years ago
0
Duplicate word match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find comments block in the source code.
ECMAScript (JavaScript)
This pattern finds comments block in the source code.
Submitted by
giraysam
-
8 years ago
0
P1 registers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
regex for finding url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Divide URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
8 years ago
0
redirections catégorie ordinateur-portable
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
A complete recognition of HTML elements pattern.
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Laurindo
-
8 years ago
0
A complete recognition of pattern for css selectors
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Laurindo
-
8 years ago
1
2
3
4
5
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
*
(?:
[^
0
-
9a
-
z
]
[
0
-
9
]
*
)*
$
/
gm
Open regex in editor
Description
Regex to get any numeric string
Submitted by
anonymous
-
3 years ago