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,000 community submitted regex patterns...
1
Adyen reason when AUTHORISATION success
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
yous
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
decimal or not number
PCRE (PHP <7.3)
acepts 1.000 and 1000
Submitted by
jvs
-
9 years ago
0
year match
PCRE (PHP <7.3)
2010-2012
Submitted by
tazbir
-
9 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
URL with ASP Cookieless SessionId
PCRE (PHP <7.3)
This matches a ASP Cookieless SessionId. Useful if, for example, after deprecating Cookieless sessions you want to redirect any clients with a cached sessionId to the plain url.
Submitted by
Zumey
-
9 years ago
1
Find all BR tags in a string
ECMAScript (JavaScript)
Find all BR tags in a string
Submitted by
Mahima
-
9 years ago
1
[php] url hard match
PCRE (PHP <7.3)
preg_math_all only. ex.: http://doman.com, http://doman.com/, http://doman.com/?query=1,http://doman.com?query=1, domain.com, doman.com?query=1 and other
Submitted by
Redfern.89
-
9 years ago
1
guto
PCRE (PHP <7.3)
gutoregex
Submitted by
guto
-
9 years ago
-2
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
9 years ago
0
File name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Line parser (split at sentence)
PCRE (PHP <7.3)
Splits a line into three parts: completed sentences from the previous line, any complete sentences, and any uncompleted sentences.
Submitted by
E.Gu
-
9 years ago
0
UAE Phone Numbers
Python
no description available
Submitted by
Sebastian
-
9 years ago
0
YouTube Video ID + URL validator
PCRE (PHP <7.3)
Verifies YouTube video links AND pulls the video ID from them in a matching group. Works with all capitalizations. It also matches the WHOLE link but sorts the video ID into a group. Works with JavaScript, PHP and Python. (Not tested with any other Regex engine) ...
Submitted by
Billy Venner
-
9 years ago
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Apt Package Version validator
PCRE (PHP <7.3)
This regular expression will match the version string of a debian package
Submitted by
Anwar
-
9 years ago
0
Substitution not wokring
Python
For python regex, substiution not working properly. It is not replcing matched content of $1... and so on. Please take a look.
Submitted by
anonymous
-
9 years ago
1
URL-Matcher
PCRE (PHP <7.3)
a simple url regex which prevents matching of a trailing ">" (the html representation of a closeing angle bracket ">")
Submitted by
Erich Spaker
-
9 years ago
1
URL
PCRE (PHP <7.3)
simple url regex which also prevents capture of a trailing ">" (the html representation of ">")
Submitted by
Erich Spaker
-
9 years ago
1
...
100
101
102
103
104
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
Mockito
.
`when`
\(
(
.
+
)
\)\.
thenReturn
\(
(
.
+
)
\)
/
gm
Open regex in editor
Description
for refactoring Kotlin tests
Submitted by
nikita.bols
-
3 years ago
(Last modified 3 years ago)