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
Expressão Regular para Telefone Fixo com ou sem mascara
PCRE (PHP <7.3)
Expressão Regular para Telefone Fixo com ou sem mascara
Submitted by
Luis Nt
-
3 years ago
1
Validate Float
PCRE2 (PHP >=7.3)
Non scientific float numbers validator
Submitted by
Tanmay Chakrabarty - cse.tanmay@gmail.com
-
3 years ago
1
hdfilmcehennemi ana filmler
PCRE2 (PHP >=7.3)
nothing
Submitted by
no one
-
3 years ago
1
Test end
Python
Test end
Submitted by
anonymous
-
3 years ago
1
Match Literal Text Example
ECMAScript (JavaScript)
Regular Expressions Cookbook 2.1 Match Literal Text Example
Submitted by
hong
-
3 years ago
1
Append _if to archive.org's links
PCRE2 (PHP >=7.3)
A regex to remove the iframe from archive.org in archived sites' links.
Submitted by
anonymous
-
3 years ago
1
List of regex for spell replacing
PCRE2 (PHP >=7.3)
Nothing interesting
Submitted by
Luke
-
3 years ago
1
Asset Market
PCRE2 (PHP >=7.3)
Asset market/exchange tests
Submitted by
anonymous
-
3 years ago
1
Minify JSON while protecting string value whitespace
PCRE2 (PHP >=7.3)
I use it so that I don't need to worry about formatting when working with unit tests in Kotlin, which means I don't worry too much about whether this is production quality, but it could be useful in other situations where the desire is to strip whitespace from a JSON object while protecting the valu...
Submitted by
anonymous
-
3 years ago
1
kim_emails
PCRE (PHP <7.3)
Regexp for simple emails
Submitted by
Vladislav Kim
-
3 years ago
1
Is Sentence Correct
ECMAScript (JavaScript)
it starts with a capital letter; it ends with a full stop, question mark or exclamation point ('.', '?' or '!'); full stops, question marks and exclamation points don't appear anywhere else in the sentence.
Submitted by
Hafiz
-
3 years ago
1
Mine
PCRE2 (PHP >=7.3)
smth
Submitted by
anonymous
-
3 years ago
1
Search for a date (Y/m/d or d/m/Y)
PCRE2 (PHP >=7.3)
Search for a date in a text.
Submitted by
globdug
-
3 years ago
1
Subreddit finder r/regex
Python
Finds the names of subreddits in a text. Group 1 is the subreddit name.
Submitted by
CoderGreensparrow
-
3 years ago
1
match x or y but not if z is present in a string
PCRE (PHP <7.3)
matches one or two words but excludes the string if a 3rd word is present
Submitted by
Pushpesh Kumar Rajwanshi
-
3 years ago
1
css @media match - not complete -
ECMAScript (JavaScript)
css @media match - not complete -
Submitted by
anonymous
-
3 years ago
1
Match all words starting with "a" not in a Tag
ECMAScript (JavaScript)
Match all words that are not in a tag. Non-matching do not prevent matches. But fails to match terms between if no intervening
Submitted by
Michael Chambers
-
3 years ago
1
Search for word breaks in CamelCase string
PCRE2 (PHP >=7.3)
This finds the boundaries of words in a camel case string
Submitted by
https://stackoverflow.com/questions/7593969/regex-to-split-camelcase-or-titlecase-advanced
-
3 years ago
1
Custom Array Type Declaration Finder
ECMAScript (JavaScript)
This Regex can be used to find the custom array types in jsdoc typdefs
Submitted by
pranomvignesh
-
3 years ago
1
Reasonable E-mail Validator v1.0
PCRE2 (PHP >=7.3)
Here is what I came up with for a 'reasonable' e-mail validator. Explanation @ https://geekalicious.org/d/90-validating-e-mail-addresses-with-regex-pcre
Submitted by
16BitMiker.com
-
3 years ago
1
...
261
262
263
264
265
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
<
(
wp:postmeta
)
>
\s
*
<
(
wp:meta_key
)
>
\s
*
wpcf-lookbook-front-image
\s
*
<
\/
\2
>
\s
*
<
(
wp:meta_value
)
>
[
\s\S
]
*
?
<
\/
\3
>
\s
*
<
\/
\1
>
\s
*
/
g
Open regex in editor
Description
Allows for easy removal of metadata in WP export file
Submitted by
anonymous
-
8 years ago