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
Community Patterns
Search among 15,160 community submitted regex patterns...
2
Full URI Mapping
PCRE (PHP <7.3)
Everything, including proto, user:pass, host, query params and anchors
Submitted by
baadf00d
-
9 years ago
1
Domain
ECMAScript (JavaScript)
Will return domain portion of a url: Example: http://www.jkrowlings.com/books Returns: www.jkrowlings.com
Submitted by
Scott Burrows
-
9 years ago
1
Everthing in an element
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
14
Phone Number
ECMAScript (JavaScript)
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
-
9 years ago
0
Select everything outside of table tags
PCRE (PHP <7.3)
no description available
Submitted by
ReijMan
-
9 years ago
1
ms internet explorer vesion <= 8
PCRE (PHP <7.3)
Check version of internet explorer - if is it usable for html5 support etc.
Submitted by
tomish.net
-
9 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
9 years ago
1
Apache/Nginx Logs parsing
PCRE (PHP <7.3)
Log Format - combined + cookie at the end. Pattern Desc - combined for all groups.
Submitted by
Samuil Dichev
-
9 years ago
0
Apache/Nginx log parser with Cookie
PCRE (PHP <7.3)
Format - cookie_combined Pattern - combined for all groups
Submitted by
Samuil Dichev
-
9 years ago
1
spamk rule
PCRE (PHP <7.3)
recognize more than 1000 mails per today with this regex
Submitted by
alex kippar
-
9 years ago
1
PTK:DateOfIssuance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
find a valid SO file
PCRE (PHP <7.3)
This regex allow to validate a .so file (with an additional version)
Submitted by
anonymous
-
9 years ago
0
find non-protocolized img src
PCRE (PHP <7.3)
Useful to expand links without a protocol header with a base url src="/bla/blubb" --> src="http:/foo.com/bla/blubb"
Submitted by
fjakop
-
9 years ago
1
Find Single Instance
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
sdf
PCRE (PHP <7.3)
f
Submitted by
f
-
9 years ago
0
ASP.NET Web Forms dates in JSON
ECMAScript (JavaScript)
Look for date objects in JSON returned from ASP.NET Web Forms.
Submitted by
anonymous
-
9 years ago
0
secure http header: cache-control
PCRE (PHP <7.3)
Check if HTTP Header of Cache-Control has all nessery values for highest security
Submitted by
Nils Werner
-
9 years ago
1
Secure HTTP Header: Public-Key-Pins
PCRE (PHP <7.3)
Check if HTTP Header of Public-Key-Pins has all nessery values for highest security
Submitted by
Nils Werner
-
9 years ago
1
Phone Number (msisdn) filter
PCRE (PHP <7.3)
MSISDN filter. Should match worldwide phone numbers. It doesn't work for numbers with dashes, so just replace them with empty strings, or edit as you wish.
Submitted by
maricn
-
9 years ago
1
Timestamp from json
PCRE (PHP <7.3)
no description available
Submitted by
Thomas Khalil
-
9 years ago
1
...
682
683
684
685
686
...
758
模式测试
0
Regular Expression
PCRE (PHP <7.3)
/
a
*
/
gm
Open regex in editor
Description
测试贪婪/非贪婪模式
Submitted by
anonymous
-
2 years ago