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 9,440 community submitted regex patterns...
0
easy Email Detection
PCRE (PHP <7.3)
easy Email Detection
Submitted by
Max Mustermann
-
10 years ago
0
City and state validation
PCRE (PHP <7.3)
Validation when city and state are like in format city, state
Submitted by
Adu
-
10 years ago
0
x
PCRE (PHP <7.3)
x
Submitted by
x
-
10 years ago
0
Matching values between square brackets
PCRE (PHP <7.3)
no description available
Submitted by
Marius Schulz
-
10 years ago
0
Date Validator Regular Expression
PCRE (PHP <7.3)
Perfect Date validator from 1900-01-01 to 2013-12-31, all with leap years and perfect dates.
Submitted by
Punit Pal
-
10 years ago
0
Matches when the string does not contain an exact word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
google result li item
PCRE (PHP <7.3)
Trying to output http://www.fs.usda.gov/malheur or thereabouts
Submitted by
ape
-
10 years ago
0
Removes comments from css files
PCRE (PHP <7.3)
This regexp removes comments from css (text/css) files (multiline)
Submitted by
Ray (alrays@yandex.ru)
-
10 years ago
0
URL matching
PCRE (PHP <7.3)
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
10 years ago
0
Replace one or more 'br' tags with a single space.
PCRE (PHP <7.3)
no description available
Submitted by
James Furey
-
10 years ago
0
split on dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Find all list items
PCRE (PHP <7.3)
I need to find the fastest expression to get all the list items inside a an put the items inside an array. input: ...
Submitted by
Sonny
-
10 years ago
0
Primjer regexa koji je potreban u jednom dijelu našeg sitea
PCRE (PHP <7.3)
Ovo je regex (regular expression - regularni izraz) koji parsira i usput validira broj naÅ¡eg predraÄuna.
Submitted by
Goran
-
10 years ago
0
match text between two <br/> tags.
PCRE (PHP <7.3)
no description available
Submitted by
gordie
-
10 years ago
0
Solved:Retrieve Value from JSON /(?<="signature":")[^"]+
PCRE (PHP <7.3)
I posted in Stackoverflow asking for help in regexp to retrieve value from a JSON response: {"payload":"eyJjaGFsbGVuZ2UiOiIwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAiLCJtaW5pbXVtTW9iaWxlVmVyc2lvbiI6MSwibm9uY2UiOiJPQ1dwdjkzSzRMSCtQM0...
Submitted by
Pratap Venkatesan
-
10 years ago
0
too greedy +
PCRE (PHP <7.3)
I would like to make that pattern match word char followed by plus folowed by few word chars and followed by another word char and plus. Both word chars followed by plus have to be optional. The problem is that + in middle part takes as much chars as it can and last part never matches (for example s...
Submitted by
Nel
-
10 years ago
0
seasons
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
phone matcher
PCRE (PHP <7.3)
phone matcher for following formats (123).234.4567 (123)-234-4567 (617) 495-1797 (617) 495 1797 (617) 4951797...
Submitted by
anonymous
-
10 years ago
0
first word plus string
PCRE (PHP <7.3)
first word and resulting string
Submitted by
anonymous
-
10 years ago
0
html text grep
PCRE (PHP <7.3)
no description available
Submitted by
Cyrbil
-
10 years ago
1
...
11
12
13
14
15
...
472
Community Library Entry
2
Regular Expression
Java 8
"
(
[
\w\s
]
){2}
(
[^
;;
]
)
"
gm
Open regex in editor
Description
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)