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 6,120 community submitted regex patterns...
0
Delete empty lines
PCRE2 (PHP >=7.3)
Delete empty lines
Submitted by
anonymous
-
2 years ago
0
YouTube extract videoId
PCRE2 (PHP >=7.3)
Extract Video ID from URL Youtube
Submitted by
anonymous
-
2 years ago
0
Match all of the words in arbitrary order
PCRE2 (PHP >=7.3)
Specify words that all have to be contained in a line; the order is arbitrary and there may be other words around them. This is most useful for searching identifiers in source code as normal word boundaries (space or punctuation) cannot be used in these cases. The example regular expression matches...
Submitted by
Sebastian Zander
-
2 years ago
(Last modified 2 years ago)
0
Nigerian local phone number
PCRE2 (PHP >=7.3)
validate a Nigerian local phone number
Submitted by
anonymous
-
2 years ago
0
Json formatter for text
PCRE2 (PHP >=7.3)
With the format: text+. Being + the end of each line, you can export a JSON formatted file with index field for you projects.
Submitted by
anonymous
-
2 years ago
0
huji-oop-ex6
PCRE2 (PHP >=7.3)
regex for huji oop course ex6
Submitted by
anonymous
-
2 years ago
0
Trying
PCRE2 (PHP >=7.3)
to search string in sip call log
Submitted by
Sachin
-
2 years ago
0
OGSP-102503
PCRE2 (PHP >=7.3)
customer regex
Submitted by
anonymous
-
2 years ago
0
VidID: YouTube
ECMAScript (JavaScript)
ID of YouTube video with provider flag
Submitted by
tomByrer
-
2 years ago
(Last modified 2 years ago)
0
Odysee video URL
PCRE2 (PHP >=7.3)
Odysee is a free platform to watch LBRY videos. osChannel = Creator osVideo = individual movie
Submitted by
anonymous
-
2 years ago
0
Anything after a question mark
PCRE2 (PHP >=7.3)
Captures anything after a question mark
Submitted by
Mohamed Heiba
-
2 years ago
0
GEDCOM match level 1 XXXX tags and all subtags
PCRE2 (PHP >=7.3)
This will match level 2 OBJE tags and all subtags: \n2 OBJE.(\n[3-9].)* This will match level 3 OBJE tags and all subtags: \n3 OBJE.(\n[4-9].)* Source: https://www.webtrees.net/index.php/en/forum/help-for-release-2-1-x/37650-import-gedcom-without-obje#97068
Submitted by
anonymous
-
2 years ago
0
(\d+(\.\d)?\,\d+(\.\d)?\|){0,2}(\d+(\.\d)?,\d+(\.\d)?)
ECMAScript (JavaScript)
(\d+(\.\d)?\,\d+(\.\d)?\|){0,2}(\d+(\.\d)?,\d+(\.\d)?)
Submitted by
anonymous
-
2 years ago
0
placeables
ECMAScript (JavaScript)
placeables
Submitted by
anonymous
-
2 years ago
0
Password validation
ECMAScript (JavaScript)
Regex used for password validation. A password match the following: At least 8 characters in length Minimum of 1 lower-case character Minimum of 1 upper-case character Minimum of 1 digit Minimum of 1 special character (non-whitespace)
Submitted by
Sjoerd de Vries
-
2 years ago
0
Mail address validation
ECMAScript (JavaScript)
Validates mail addresses
Submitted by
Sjoerd de Vries
-
2 years ago
0
Discord Invite Regexp
PCRE2 (PHP >=7.3)
a
Submitted by
MinerPL
-
2 years ago
0
Simple digit removal
PCRE2 (PHP >=7.3)
A simple expression for removing digits from the suffix of a string.
Submitted by
Seth F.
-
2 years ago
0
[NOT WORKING] css/scss filenames but not css-modules (*.module.<extension>)
ECMAScript (JavaScript)
Get file paths .css or .scss but not .module.css or .module.scss
Submitted by
krutoo
-
2 years ago
0
Kumpulan regex
PCRE2 (PHP >=7.3)
simpenan
Submitted by
anonymous
-
2 years ago
1
...
280
281
282
283
284
...
306
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
_
?
[
a
-
z0
-
9
]
+
(?:
-
+
[
a
-
z0
-
9
]
+
)*
$
/
gm
Open regex in editor
Description
including digits and double dashes
Submitted by
anonymous
-
a year ago