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 12,060 community submitted regex patterns...
1
discworld mud player titles
PCRE (PHP <7.3)
Comprehensively matches every possible pre-name player title in discworldmud. http://discworld.starturtle.net/lpc/ https://dwwiki.mooo.com/wiki/Title
Submitted by
Zimbus
-
4 years ago
1
Date Match
PCRE (PHP <7.3)
Date Match
Submitted by
anonymous
-
4 years ago
1
Matching Same Text Again & Again
PCRE (PHP <7.3)
Matching Same Text Again & Again
Submitted by
anonymous
-
4 years ago
1
Retailer Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
html tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
JSON Validation (RFC-8259)
PCRE (PHP <7.3)
PCRE Regular expression that validates JSON according to grammar specified at RFC-8259 (https://tools.ietf.org/html/rfc8259)
Submitted by
anonymous
-
4 years ago
1
Match HTML Tags
PCRE (PHP <7.3)
Based on an expression from haacked.com
Submitted by
anonymous
-
4 years ago
1
OpenWeather Regex for Rainmeter Weather.ini
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Modem Logging pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Simple JSON Regex Groups for Parsing JSON
PCRE (PHP <7.3)
I figured this would be the simplest way to Parse JSON. We have some known information about the properties to help determine the type at runtime. Properties - Immediately followed by : characters Values - Have a bracket } ] or a , directly after it in the regex return. Strings - They are surrounded...
Submitted by
Dajeki
-
4 years ago
1
Traefik stripprefixregex for web apps
Golang
Notes: Do not forget to escape the $ by an additional $. Escaping ? like \? does not work. But you could use [?] instead End result should be like this: "traefik.http.middlewares.r6tt-dev-web.stripprefixregex.regex=^/[a-z0-9/]+[a-z0-9]+([?]+.*)?$$"...
Submitted by
anonymous
-
4 years ago
1
part 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
each section searched with line breaks still in 2.0 - gets entire section from From
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
email capturing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Role regex liferay-developer
PCRE (PHP <7.3)
Regex to liferay proyect for Role -> Developer
Submitted by
anonymous
-
4 years ago
1
Role regex ODH Developers
PCRE (PHP <7.3)
Regex to proyect ODH for ROLE -> Developers
Submitted by
anonymous
-
4 years ago
1
capturing div a or span or etc
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
c comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
c without comments for valid c code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Image tags
PCRE (PHP <7.3)
Extract image tags from a HTML code
Submitted by
anonymous
-
4 years ago
1
...
529
530
531
532
533
...
603
New line characters on Windows, Linux and OSX
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<text>
.
*
)
(?<newline>
[
\r\n
]
+
)
/
gm
Open regex in editor
Description
New line characters on Windows, Linux and OSX
Submitted by
anonymous
-
2 years ago