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,400 community submitted regex patterns...
1
MyRegexOnVeb
PCRE (PHP <7.3)
Выражения на вебы
Submitted by
Legend072
-
9 years ago
1
extraction
PCRE (PHP <7.3)
jamie sucks
Submitted by
me
-
9 years ago
1
currency-50-100000
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Select string in between HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
Jim Sheen
-
9 years ago
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
9 years ago
0
hidden項目デフォルト隠蔽
PCRE (PHP <7.3)
これを技術担当に見せれば理解してくれるはず。 '(]type="[text|hidden]"value=")(+)("*>)' このコードがデフォルトでClickTaleタグ内のJSに付与されてて、 これがあるとフォームで入力された項目等は全て【ーーーー】に...
Submitted by
井上
-
9 years ago
1
magento digits-range validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Extract All Steam Keys
PCRE (PHP <7.3)
Extract all Steam Keys from a Given String
Submitted by
Ashesh Kumar
-
9 years ago
1
Delte first symbols in line
PCRE (PHP <7.3)
no description available
Submitted by
Ilya Korzh
-
9 years ago
6
Simple Number
ECMAScript (JavaScript)
Verifies Number is a negative/positive number. Number may be a decimal, but if it is, it requires at least one number before and after the decimal place. Decimal numbers may also be negative or positive. Only 1 decimal place is allowed.
Submitted by
David P Smith
-
9 years ago
1
Black Hole Exploit Kit
PCRE (PHP <7.3)
HTTP method = “GET” Requested file type ENDS WITH ".php" Requested file type = “x-msdownload” Request MATCHES Regular Expression
Submitted by
anonymous
-
9 years ago
1
Chrizzzs Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ok
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Roman numbers
ECMAScript (JavaScript)
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicol ò Ribaudo
-
9 years ago
1
Angler Exploit Kit
PCRE (PHP <7.3)
no description available
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
2
YouTube Iframe parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
BETWEEN clause
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Valid Email
ECMAScript (JavaScript)
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+([-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}(-.{2,6})*;
Submitted by
Fred Scales
-
9 years ago
1
Valid Email
ECMAScript (JavaScript)
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
9 years ago
1
...
667
668
669
670
671
...
770
Capture nested strings using recursion
1
Regular Expression
PCRE (PHP <7.3)
/
(?=
(
\(
(
(?:
(?-2)
|
[^
()
]
+
)+
)
\)
)
)
\(
/
g
Open regex in editor
Description
Brackets, Parentheses, Braces, delimited
Submitted by
anonymous
-
9 years ago