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 15,280 community submitted regex patterns...
0
Parse html tag attributes into key:value pairs
ECMAScript (JavaScript)
([a-zA-Z\//]){0}\s(?[a-zA-Z]+)=?("(?[A-Za-z\d\s;:.\-\/\\%]*)")?
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Get HTML attribute
PCRE2 (PHP >=7.3)
Get HTML attribute with /" inside
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
4 spaces and tabs mixed indentation replace pattern
PCRE2 (PHP >=7.3)
With this expression you can easily replace the indentation from 4 spaces and tabs mixed indented file to a pure indentation.
Submitted by
hNczy
-
2 years ago
0
URL Validation JS
ECMAScript (JavaScript)
Domain can be an IP address, except 0.0.0.0 Domain with length of 1 accepted Only acceptable symbol in Domain is "-" (hyphen) Not allowed in start, end or twice in a row (same for "." (dot))...
Submitted by
Artur
-
2 years ago
(Last modified 2 years ago)
0
Phone # Validation
ECMAScript (JavaScript)
This recognizes phone numbers, including country codes if they're present.
Submitted by
Phoenix Staley
-
2 years ago
0
Thai citizen
PCRE (PHP <7.3)
rule for parse thai citizen card
Submitted by
socool
-
2 years ago
0
Thai credit card
PCRE (PHP <7.3)
rule for parse thai credit card
Submitted by
socool
-
2 years ago
0
Thai car register
PCRE (PHP <7.3)
rule for thai registered car
Submitted by
socool
-
2 years ago
0
Simple password validator
ECMAScript (JavaScript)
verify that a password string is from length 8 - 16, while allowing word and non-word characters.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
股票代码
PCRE2 (PHP >=7.3)
aa
Submitted by
vv
-
2 years ago
0
Email - Works 99% close to oficial Standards
Java 8
Email - Works 99% close to oficial Standards, even better
Submitted by
CryptoCode
-
2 years ago
0
Instagram Profile Url Test
Java 8
Testing all known Variations of Instagram Profile Url's
Submitted by
CryptoCode
-
2 years ago
0
LinkedIn Profile Url
Java 8
LinkedIn Profile Url
Submitted by
Morons
-
2 years ago
0
whitespace only lines
PCRE2 (PHP >=7.3)
Matches whitespace only lines common to annoying website code.
Submitted by
anonymous
-
2 years ago
0
Placas de veículos do Brasil (Mercosul e pré-Mercosul)
PCRE2 (PHP >=7.3)
Expressão regular baseada na publicada no artigo REGEX para Placas Brasileiras (incluindo Mercosul) de Ricardo Coelho.
Submitted by
Lucas Miranda <https://github.com/liddack>
-
2 years ago
0
Find WikiRace baseURL
ECMAScript (JavaScript)
https://github.com/d-k-bo/WikiRace
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
ipv4 match
PCRE2 (PHP >=7.3)
ipv4 match
Submitted by
anonymous
-
2 years ago
0
lat cyr letters
Java 8
only lat and cyr letters
Submitted by
anonymous
-
2 years ago
0
Time regex
PCRE2 (PHP >=7.3)
Regex that selects hour, minute, second, and Meridiem Indicator from a string.
Submitted by
PieterT2000
-
2 years ago
0
First name Universal
PCRE2 (PHP >=7.3)
This Regex is for first name and last name with multiple spaces
Submitted by
Tej
-
2 years ago
1
...
700
701
702
703
704
...
764
Wrap word in json with quotes
0
Regular Expression
PCRE (PHP <7.3)
/
(
[^
(),
\{
:
\}\[\]
]
+
[^
(),
\{
:
\}\[\]
]
*
)
/
gi
Open regex in editor
Description
Wrap word in json with quotes
Submitted by
anonymous
-
2 years ago