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,040 community submitted regex patterns...
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
1
f
Python
f
Submitted by
f
-
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
Nuclear Exploit Kit
Python
Nuclear Exploit Kit Requested file
Submitted by
anonymous
-
9 years ago
1
Parcel ID (Michigan)
Python
REGEX validator for Parcel IDs. Works for Michigan but may for other states if their parcel IDs have form "00-00-00-00-000-000".
Submitted by
Lewis
-
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
localhost ip's with port
Python
Matches localhost ip range with optional port capture: 127.X.X.X or 127.X.X.X:PORT ToDo: check valid ip address.
Submitted by
Rodrigo M. A.
-
9 years ago
-1
localhost match range ip with port number
Python
Matches all ips that points to localhost like, optionally capturing port number: 127.X.X.X and 127.X.X.X:
Submitted by
Rodrigo M. A.
-
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
...
788
789
790
791
792
...
902
Community Library Entry
1
Regular Expression
Python
r"
^
(?P<NM>
NM_
[
0
-
9
]
+
[
\.
0
-
9
]
*
)
(?P<HGNC>
\(
.
+
\)
){0,1}
:c
.
(?P<CDOT>
[
0
-
9_
]
*
)
(?P<MUT>
(?P<KIND>
(?P<REF>
[
ATGC
]
+
)
|
del
|
ins
)
(?P<CHANGE>
(?(REF)
>
|)
(?P<SUB>
(?(REF)
[
ATGC
]
+
|
[
ATGC
]
*
)
)
)
)
$
"
g
Open regex in editor
Description
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
a year ago
(Last modified a year ago)