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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,880 community submitted regex patterns...
-1
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
a year ago
(Last modified a year ago)
-1
IPv4 Address Match
ECMAScript (JavaScript)
Matches IP addresses
Submitted by
jimbrig
-
a year ago
-1
HZS003 - PODs (find ref)
PCRE2 (PHP >=7.3)
den finder referencer der starter med afdelingsnummer efterfulgt af fil-ref
Submitted by
anonymous
-
a year ago
-1
Match leading number of port and replace it with another
PCRE2 (PHP >=7.3)
the point is to help replace leading number with another number to prevent some services uses same port
Submitted by
anonymous
-
a year ago
-1
i18n extract
PCRE2 (PHP >=7.3)
extract strings between {…} or __(…)
Submitted by
ced404
-
a year ago
-1
Regex example
PCRE2 (PHP >=7.3)
For pldi
Submitted by
PlaceReporter99
-
a year ago
-1
7 Days to Die replace party girl
PCRE2 (PHP >=7.3)
A regular expression for replacing Arlene and party girl with the lab tech model in 7 Days to Die. This ought to be applied to the file D:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Config\entitygroups.xml
Submitted by
anonymous
-
a year ago
-1
Bwt Double Quotes
PCRE2 (PHP >=7.3)
Select string between double quotes.
Submitted by
anonymous
-
a year ago
-1
匹配引号内容/match quotation mark content
ECMAScript (JavaScript)
匹配带引号内容,被引号包含的内容 结构($x) ((前引号)(内容)(后引号)) 整体内容(包含引号)...
Submitted by
诶!你的尾巴掉了
-
a year ago
(Last modified a year ago)
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
10 years ago
0
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
10 years ago
0
ssi tag into html contents with file and virtual directives
ECMAScript (JavaScript)
no description available
Submitted by
Prashant Gaur
-
10 years ago
0
Bad comma puctuation
ECMAScript (JavaScript)
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
10 years ago
0
filename split
ECMAScript (JavaScript)
Splitting file names
Submitted by
Miloš Ratković
-
10 years ago
0
Number matching RE
ECMAScript (JavaScript)
Optional plus or minus sign. Leading zero required for decimal number less than zero.
Submitted by
Mario Diana
-
10 years ago
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
omit data between single quotes
ECMAScript (JavaScript)
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
10 years ago
1
...
5
6
7
8
9
...
294
exclude .jpg .png .js .css path
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(?!
\.
jpg
$
|
\.
png
$
|
\.
js
$
|
\.
css
$
)
.
)*
$
/
gmi
Open regex in editor
Description
exclude .jpg .png .js .css path
Submitted by
zm
-
3 months ago