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
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
1
Regex to detect HAML attribute expression whilst ignoring following text.
ECMAScript (JavaScript)
Can handle complex bracket expressions.
Submitted by
github.com/onlinecop
-
10 years ago
-2
Version in Cordova config.xml
PCRE (PHP <7.3)
no description available
Submitted by
procek
-
10 years ago
-2
RegEx within tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
1
PCRE (PHP <7.3)
23123
Submitted by
anonymous
-
10 years ago
1
test url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Maintain portion in the middle
PCRE (PHP <7.3)
no description available
Submitted by
HMK
-
10 years ago
1
YOLO
PCRE (PHP <7.3)
Substitutes "you only live once" with "YOLO".
Submitted by
anonymous
-
10 years ago
1
Number invalidator
PCRE (PHP <7.3)
Including +/-12.3. etc. Excluding MH12, etc.
Submitted by
HMK
-
10 years ago
1
number validator
PCRE (PHP <7.3)
exclude data with space and "-"
Submitted by
HMK
-
10 years ago
1
Match Markup
PCRE (PHP <7.3)
no description available
Submitted by
A
-
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
1
auie
Python
auie
Submitted by
auie
-
10 years ago
1
foobar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
1
Escape non-Ascii Character
PCRE (PHP <7.3)
Replace non-ascii characters with empty spaces.
Submitted by
Huchister
-
10 years ago
1
Demo
ECMAScript (JavaScript)
no description available
Submitted by
Tensibai
-
10 years ago
1
...
80
81
82
83
84
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
3
[
47
]
[
0
-
9
]
{13}
|
3
(?:
0
[
0
-
5
]
|
[
68
]
[
0
-
9
]
)
[
0
-
9
]
{11}
|
4
[
0
-
9
]
{12}
(?:
[
0
-
9
]
{3}
)?
|
5
[
1
-
5
]
[
0
-
9
]
{14}
|
6
(?:
011
|
5
[
0
-
9
]
{2}
)
[
0
-
9
]
{12}
|
(?:
2131
|
1800
|
35
\d
{3}
)
\d
{11}
)
/
g
Open regex in editor
Description
Captures credit card looking sequence of digits Luhn validation remains required as a complement.
Submitted by
OP
-
10 years ago