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 11,520 community submitted regex patterns...
1
Duco2
Python
no description available
Submitted by
anonymous
-
4 years ago
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
Using a Non-Capturing Group (regex + python)
Python
Using a Non-capturing Group: regex + python This question was asked on stackoverflow and it appeared that the best way to match the expression will be to use a non-capturing group. [#so-question]: https://stackoverflow.com/questions/61882072/python-regex-findall-function-only-returning-matchings-o...
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
Any decimal numbers (floats, integers, with "." and "," with e)
Python
Matches: integers [+-]?\d+(Ee?\d+)? like +45 or 96E-3 or -12e+24 floats starting from "." or "," like -.45e-3 floats starting from \d like 3.14 or -0.67E12
Submitted by
anonymous
-
4 years ago
1
Simple, universal and short regex to find quoted strings. Invalid quotes inside string ignored. flag s (single-line) allows to find multiline strings
Python
'string in simple quotes' "in double-quotes" in back-quotes "Works good with symbols ' or " or ` inside the string" "All another type quotes "' inside string are ignored" use something like \ or \" or \' " Matches only identical quotes on string start and end ' // regex can`t find this...
Submitted by
V. Martian
-
4 years ago
1
part 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
day date time
Python
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
...
525
526
527
528
529
...
576
Get inside single/double quotes
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
"'
]
)
(
(?:
\\
\1
|
(?!
\1
)
.
)+
)
\1
/
g
Open regex in editor
Description
Get everything inside single/double quotes and ignoring escaped ones
Submitted by
Jerry
-
11 years ago