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,000 community submitted regex patterns...
0
accurate Base64 validation
PCRE (PHP <7.3)
Invalid entries still can be interpreted, e.g. encode(0xAB) => qw== however invalid encoding qx== still can be correctly decoded: ...
Submitted by
anonymous
-
5 years ago
0
3 digits surrounded by blanks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
IP Adresse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
point 2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Valid OAuth scope
PCRE (PHP <7.3)
Validates a common format for OAuth scopes.
Submitted by
anonymous
-
5 years ago
0
Valid Date Finder
PCRE (PHP <7.3)
FInds a valid date string in the formats mm-dd-yy or mm/dd/yy, as well as mm-dd-yyyy and mm/dd/yyyy.
Submitted by
anonymous
-
5 years ago
0
Test for occurrences of XCTest @testable annotation usage
PCRE (PHP <7.3)
There may be circumstances when you need to determine if there is any usage of XCTest's @testable annotation in unit test cases. One usage of this regex could be for a custom SwiftLint rule to require or disallow usage of @testable
Submitted by
anonymous
-
5 years ago
0
Password Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Name w/ unicode
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Get all ampersands, but omits the ampersands that are part of any HTML entities.
PCRE (PHP <7.3)
Get all ampersands, but omits the ampersands that are part of any HTML entities.
Submitted by
anonymous
-
5 years ago
0
Full ISO 8601 Duration without lookaround
PCRE (PHP <7.3)
Without lookaround, this regular expression also accepts P and PT as valid duration strings. If your library supports lookaround, I recommend that you use Full ISO 8601 Duration with lookaround (also in the library) instead, which will also reject P and PT.
Submitted by
anonymous
-
5 years ago
0
Full ISO 8601 Duration with lookaround
PCRE (PHP <7.3)
With lookaround, this regular expression will reject P and PT as invalid duration strings. If your library does not support lookaround, I recommend that you use Full ISO 8601 Duration without lookaround (also in the library) instead, with the caveat that you will need to verify the string is not P o...
Submitted by
anonymous
-
5 years ago
0
Email Regex
PCRE (PHP <7.3)
https://emailregex.com/
Submitted by
anonymous
-
5 years ago
0
tach va group nhom
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Insert CDATA on SVG text fields
ECMAScript (JavaScript)
For each that it founds, it inserts a <![CDATA[ ... ]]>
Submitted by
anonymous
-
5 years ago
0
Telephone number : strict international section, flexible local section for wider international and allows spaces for visual formatting
ECMAScript (JavaScript)
Telephone number strict international section :- starting with '+' or '00' flexible local section for wider international and allows spaces for visual formatting Close enough for many requirements. Tweak to match your country/circumstances better. ...
Submitted by
PS
-
5 years ago
0
Paris
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Brazil Phone Validator
PCRE (PHP <7.3)
(\([0-9]{2}\)\s?[0-9]{4,5}-?[0-9]{3,4})|([0-9]{10,11})|([0-9]{2}\s?[0-9]{8,9})
Submitted by
anonymous
-
5 years ago
0
Prüfung Telefon
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
613
614
615
616
617
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
"geo":
\{
"type":"Point","coordinates":
\[
(?P<latitude>
[^
,
\]\}
]
+
)
,
(?P<longitude>
[
\d
\.\-
]
+
)
/
Open regex in editor
Description
This extracts latitude and longitude from a Tweet pulled through the public API.
Submitted by
Ed Fullman
-
8 years ago