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 13,040 community submitted regex patterns...
0
Get 'value' attribute in 'a' html tag
ECMAScript (JavaScript)
Regex used to avoid text-angular/angular $sanitize temporarily
Submitted by
Derek Severson
-
9 years ago
0
#tagging tag form regex
PCRE (PHP <7.3)
hash tagging actual title or description format regex
Submitted by
rameespu@gmail.com
-
9 years ago
0
#tagging original form regex
PCRE (PHP <7.3)
#tagging original form regex
Submitted by
rameez rami
-
9 years ago
0
Unix file name from full path
PCRE (PHP <7.3)
Replace the forward slashes with back slashes for Windows
Submitted by
anonymous
-
9 years ago
0
first word until whitespace/linebreak
ECMAScript (JavaScript)
no description available
Submitted by
jpeldes
-
9 years ago
0
JSON Double Quoting
ECMAScript (JavaScript)
Insert double quotes between matches around colons. You need to wrap substition.substr(1)+'"' with parenthesis afterwards. (substr is needed to remove hanging doublequote at the start of the string) ex) var json = '{ '+json_ish.replace(regex,subs).substr(1)+'" }'; ...
Submitted by
anonymous
-
9 years ago
0
Outside attr keyword
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Match RE/FWD in subject body
PCRE (PHP <7.3)
no description available
Submitted by
wilco
-
9 years ago
0
Content Type
PCRE (PHP <7.3)
What the fuck?
Submitted by
I'm fucked up, Man
-
9 years ago
0
html img tag src
ECMAScript (JavaScript)
get src url from img tag in html
Submitted by
anonymous
-
9 years ago
0
visa cvv
PCRE (PHP <7.3)
4003447582444271
Submitted by
anonymous
-
9 years ago
0
Date Validation
ECMAScript (JavaScript)
This pattern validates all the possible dates for all months in YYYY-MM-DD format. Due to limitations of regex it can not validate the dates of february for leap year. It will allow the date 29 for leap year too. Make sure to validate that yourself.
Submitted by
Ashutosh Agrawal
-
9 years ago
0
hidden項目デフォルト隠蔽
PCRE (PHP <7.3)
これを技術担当に見せれば理解してくれるはず。 '(]type="[text|hidden]"value=")(+)("*>)' このコードがデフォルトでClickTaleタグ内のJSに付与されてて、 これがあるとフォームで入力された項目等は全て【ーーーー】に...
Submitted by
井上
-
9 years ago
0
Select string in between HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
Jim Sheen
-
9 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
9 years ago
0
float
PCRE (PHP <7.3)
matches floats: 1.0f 1.0F .0f .1F 1f 1F
Submitted by
Mateusz Paluch
-
9 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Search for foobar in a csv string
PCRE (PHP <7.3)
Search for foobar in a csv string
Submitted by
Balmark
-
9 years ago
0
Isolates Formatted money String inside HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
9 years ago
1
...
31
32
33
34
35
...
652
ipv4 address
0
Regular Expression
ECMAScript (JavaScript)
/
(?=
(
\d
{1,3}
\.
){3}
\d
{1,3}
)
(
(?:
(
2
[
0
-
5
]
{2}
|
[
1
]
?
\d
{1,2}
)
)
\.
){3}
(?:
(
2
[
0
-
5
]
{2}
|
[
1
]
?
\d
{1,2}
)
)
(?!
[
\.
\d
]
)
/
g
Open regex in editor
Description
no description available
Submitted by
Xiaohui Xu
-
9 years ago