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 9,220 community submitted regex patterns...
0
Match first letter of words for names
PCRE (PHP <7.3)
Also matches the first letter after ' or -
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
CPF
PCRE (PHP <7.3)
Regra de validação de CPF.
Submitted by
anonymous
-
3 years ago
0
Performa
PCRE (PHP <7.3)
/^(?P0|[1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\da-zA-Z-)(?:\.(?:0|[1-9]\d|\da-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
anonymous
-
3 years ago
0
Replace Percentage with dot, for comma and remove percent symbol
PCRE (PHP <7.3)
Substituir uma porcentagem "3.78%" por "3,78"
Submitted by
anonymous
-
3 years ago
0
HTML code to HTML entity
PCRE (PHP <7.3)
Quick basic match for the conversion of an html code for the registered symbol to an html entity
Submitted by
Matthew Baker
-
3 years ago
0
catch url
PCRE (PHP <7.3)
Matches almost all url
Submitted by
anonymous
-
3 years ago
0
Otp Extraction
PCRE (PHP <7.3)
It will used for otp extraction from sms
Submitted by
anonymous
-
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
kim_emails
PCRE (PHP <7.3)
Regexp for simple emails
Submitted by
Vladislav Kim
-
3 years ago
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
PIM - Attribute not localized
PCRE (PHP <7.3)
see
Submitted by
anonymous
-
3 years ago
1
Extract group of key from hash structure string
PCRE (PHP <7.3)
Extract group of key from hash structure string
Submitted by
Prabin Silwal
-
3 years ago
1
Simple TIN number regex
PCRE (PHP <7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences. Assuming the app validates the length.
Submitted by
Sowed Castelli
-
3 years ago
(Last modified a year ago)
1
Conventional Commit Footer
PCRE (PHP <7.3)
Supports multi line value for git trailers with lookahead for beginning of next git trailer
Submitted by
Christos Cunning
-
3 years ago
0
Mayne Way Entertainment
PCRE (PHP <7.3)
Your WhatsApp Business code 811-007 You can also tap this link https://www.maynewayent.com
Submitted by
Lahyan Djeh
-
3 years ago
1
Regex Record SSH
PCRE (PHP <7.3)
Regex Record for Data from SSH scripting
Submitted by
anonymous
-
3 years ago
0
How to find the nth occurrence of a pattern date
PCRE (PHP <7.3)
This is a very useful pattern to find Nth occurency of a data in this format dd/mm/yyyy but can be abstracted for other situations
Submitted by
Mauro99
-
3 years ago
0
Instagram URL
PCRE (PHP <7.3)
For instagram URLs. Updated with latest Domain names
Submitted by
Suraj Shah
-
3 years ago
0
model value
PCRE (PHP <7.3)
for Levi
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
question select
PCRE (PHP <7.3)
Finds and selects a question from the beginning of the question (after the last sentence/phrase/page break/etc to the question mark (?)
Submitted by
anonymous
-
3 years ago
1
...
10
11
12
13
14
...
461