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,020 community submitted regex patterns...
4
Remove common numeric suffixes (eg: 40m, 60%)
PCRE (PHP <7.3)
Usage: "40%".replace(/\b([\d\.]+)mkb%/ig, '$1')
Submitted by
anonymous
-
9 years ago
4
Currency Formater Accept , & .
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Mobile phone russia
ECMAScript (JavaScript)
Submitted by
Johhny
-
9 years ago
4
Validate hex color
PCRE (PHP <7.3)
Validates hexadecimal color codes based on the following rule set: Optionally starting with a hash. 3 or 6 characters in length. Using the [0-9a-f] character set.
Submitted by
Nathaniel Blackburn
-
9 years ago
4
Jeff Test
PCRE (PHP <7.3)
Valid and Invalid emails
Submitted by
anonymous
-
9 years ago
4
vowel words
ECMAScript (JavaScript)
([!-\~]aeiou)
Submitted by
Ipsita Mohanty
-
9 years ago
4
JWT Validation
PCRE (PHP <7.3)
Validate a Json Web Token (JWT).
Submitted by
Erik Maas
-
9 years ago
4
kenteken validator
PCRE (PHP <7.3)
validator voor kenteken vb: 11-AA-BB
Submitted by
Senne Root
-
9 years ago
4
Mask credit card
PCRE (PHP <7.3)
no description available
Submitted by
Albert Paris
-
9 years ago
4
find uncommented coffeescript console.logs
ECMAScript (JavaScript)
no description available
Submitted by
valiafetisov
-
9 years ago
4
Version Matcher
PCRE (PHP <7.3)
Matches version strings.
Submitted by
anmols
-
9 years ago
4
Mask an email regex
PCRE (PHP <7.3)
Replaces second to last but one characters in email with asterisks (@ and last . are protected): john.travolta@gmail.com > j*a@g**.m
Submitted by
Wiktor Stribiżew
-
9 years ago
4
extract domain with port
ECMAScript (JavaScript)
no description available
Submitted by
yooresh
-
9 years ago
4
c#
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
4
Function Declaration / Expression
ECMAScript (JavaScript)
matches both function declarations and expressions in javascript. ex. function name () {...} || function () {}
Submitted by
Ja Superior
-
9 years ago
4
DNS hostname well-formedness validation
PCRE (PHP <7.3)
Validates that a DNS hostname is well-formed only. You will still need to check that the overall length of the hostname, including the implied trailing "." (if not present), does not exceed 255 bytes.
Submitted by
Jeff Walter
-
9 years ago
4
MasterCard validate 2017
PCRE (PHP <7.3)
Match a MasterCard with new range for 2017: 51-55 and 2221-2720 @incarnated
Submitted by
John C
-
9 years ago
4
Timestamp
PCRE (PHP <7.3)
12.04.1975T03:02:00.88 With milliseconds and T seperator. Excludes most invalid dates, except 30/31ths of month, leap years/february heaving only 29/28.
Submitted by
anonymous
-
9 years ago
4
Skype ConversationText Extraction
PCRE (PHP <7.3)
When you copy a skype conversation and paste it in a text area then it includes timestamps, User's name and whether or not the message had been edited. This matches all of those in seperate groups for easy substitution
Submitted by
Zalatos
-
9 years ago
4
UK Postcode
ECMAScript (JavaScript)
no description available
Submitted by
msyed
-
9 years ago
1
...
890
891
892
893
894
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
Android
\d
+
;
(
[^
;
]
+
)
Build
/
gi
Open regex in editor
Description
Device model Extraction from our client Are***
Submitted by
anonymous
-
2 years ago