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...
0
Force a CIDR block of 10.###.0.0
ECMAScript (JavaScript)
This will force a cidr block in the 10.x.0.0 range. Very useful if you restrict your cidr block to 10.x.0.0 in cloudformation (AWS).
Submitted by
Alex Dixon
-
7 years ago
0
Klippel file parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex captures numbers only
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
PHP .htaccess
PCRE (PHP <7.3)
no description available
Submitted by
ToniApps Studios
-
7 years ago
0
Find text between double square brackets in php
PCRE (PHP <7.3)
Find text between double square brackets in php
Submitted by
Depict
-
7 years ago
0
[Wikipedia] Article descriptive tokenizer
PCRE (PHP <7.3)
Match patterns of form "{% sentence_prefix %} (is|are) (a|the) {% description_of_prefix %}". Should almost always match part of the first sentence of a Wikipedia article.
Submitted by
anonymous
-
7 years ago
0
The multiplier
PCRE (PHP <7.3)
Will match anything after p
Submitted by
anonymous
-
7 years ago
0
The dot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex Match all characters between two strings
Python
(location=)(.*)(%2C%20TX) 'https://www.airbnb.com/rooms/18520444?location=Cleveland%2C%20TX'
Submitted by
anonymous
-
7 years ago
0
mvr wip lineage
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
mvr wip
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Tailwind Padding sm/md/lg find and replace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
iOS/macOS Indic character CoreText crash exploit detection 2018-02-12
PCRE (PHP <7.3)
This PHP regex will match any string that contains Indic character combinations known to crash many iOS applications as of 11.2.5 and certain macOS combinations as of 10.13.3. The crash occurs in CoreText. Notes This regex will only work if you use the x and u modifiers. Example: "{regex-goes-he...
Submitted by
Paul Buonopane @ NamePros
-
7 years ago
0
iOS/macOS Indic character crash exploit detection 2018-02-12
PCRE (PHP <7.3)
This PHP regex will match any string that contains Indic character combinations known to crash many iOS applications as of 11.2.5 and certain macOS combinations as of 10.13.3. The crash occurs in CoreText. Notes This regex will only work if you use the x and u modifiers. Example: "/regex-goes-he...
Submitted by
Paul Buonopane @ NamePros
-
7 years ago
0
matchEmailAddress
PCRE (PHP <7.3)
Match an email address
Submitted by
SwiJ
-
7 years ago
0
MK1 artist-album reducer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Remove all <php tags from html file
PCRE (PHP <7.3)
This regex is helpful to remove all tags
Submitted by
anonymous
-
7 years ago
0
TravelOnline - Extract TripId from file
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
PHP_Exercise_2
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
0
PHP_Exercise_1
PCRE (PHP <7.3)
For a test PHP for my school
Submitted by
Rick
-
7 years ago
1
...
540
541
542
543
544
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
a
-
zA
-
Z
]
+
$
/
Open regex in editor
Description
regex to prevent special charecters and allow white spaces for your string
Submitted by
anonymous
-
2 years ago