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 3,080 community submitted regex patterns...
0
Avoid Unnecessary Whitespaces
PCRE2 (PHP >=7.3)
Avoid unnecessary whitespaces. Note: This uses substitution Click "Open regex in editor" to see the magic!
Submitted by
cool66
-
2 years ago
0
BF / Trade Channel
PCRE2 (PHP >=7.3)
Extract trade_channel from branded_foods
Submitted by
anonymous
-
2 years ago
0
ITIN
PCRE2 (PHP >=7.3)
ITIN regex
Submitted by
anonymous
-
2 years ago
0
kiểm tra họ tên
PCRE2 (PHP >=7.3)
kiểm tra họ tên
Submitted by
anonymous
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
-1
IP6 Validator Address (Simple)
PCRE2 (PHP >=7.3)
Short form validation of an IP6 address Less complex than other examples I have seen around
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
odev 1
PCRE2 (PHP >=7.3)
odev
Submitted by
anonymous
-
2 years ago
0
regex dont look pls
PCRE2 (PHP >=7.3)
asdfasdfasdg
Submitted by
anonymous
-
2 years ago
0
convert number to Lakh format
PCRE2 (PHP >=7.3)
converts a number to Lakh format, e.g: 123456789 == 12,34,56,789 breakdown: twelve crore thirty-four lakh fifty-six thousand seven hundred and eighty-nine
Submitted by
anonymous
-
2 years ago
0
printf C99
PCRE2 (PHP >=7.3)
A regex that matches the printf C99 standard
Submitted by
renardfute
-
2 years ago
0
Laugh Match
PCRE2 (PHP >=7.3)
match laugh texts
Submitted by
cool66
-
2 years ago
0
Regular expression for positive number with 2 decimals used for displaying money
Java 8
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0. Goals:...
Submitted by
Remzi Cavdar
-
2 years ago
(Last modified a year ago)
0
Trim Full Terrestrial Channel
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
PCRE2 (PHP >=7.3)
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
Submitted by
anonymous
-
2 years ago
0
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
2 years ago
0
4 Groups from JSON
PCRE2 (PHP >=7.3)
4 Groups from JSON
Submitted by
Erik Leiren
-
2 years ago
0
Get !Aphanumeric character
PCRE2 (PHP >=7.3)
get regex
Submitted by
Rafaella Cintra
-
2 years ago
0
Liferay-Portal version extract
PCRE2 (PHP >=7.3)
Liferay-Portal version extract
Submitted by
anonymous
-
2 years ago
0
URL
PCRE2 (PHP >=7.3)
scheme host port path query
Submitted by
anonymous
-
2 years ago
0
Starts with year in range 2016 to 2050
PCRE2 (PHP >=7.3)
Starts with a year in the range of 2016 to 2050
Submitted by
Abhi Reddy
-
2 years ago
1
...
64
65
66
67
68
...
154
Nextcloud client log line parse
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?<date>
\d
{4}
-
\d
{2}
-
\d
{2}
)
\s
*
(?<time>
\d
{2}
:
\d
{2}
:
\d
{2}
:
\d
{3}
)
\s
*
\[
\s
*
(?<level>
\w
*
)
\s
*
(?<module>
.
*
?
)
\s
*
\]
\s
*
(?<message>
.
*
)
$
/
gmi
Open regex in editor
Description
Splits the parts of a line in the log of the Nextcloud sync client into usable fragments
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)