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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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. Click
here
to read more.
Community Patterns
Search among 9,640 community submitted regex patterns...
0
Regex replace word in string if it is not a link
PCRE (PHP <7.3)
Stack: https://stackoverflow.com/a/31770688
Submitted by
anonymous
-
3 years ago
0
Pull Words from Sentence
Java 8
Simple little regex to pull words out of a sentence. Obviously \w+ exists, but this accounts for a few corner cases that would normally be missed. Things like let's or ten-four good-buddy.
Submitted by
Tony B.
-
3 years ago
0
my phone regex
PCRE (PHP <7.3)
Pattern means: Phone must start with 0 Length of Phone must be greater than or equal to 10 - 11 numbers Space or Special characters doesn't allow Character doesn't allow
Submitted by
anonymous
-
3 years ago
0
my full name regex
PCRE (PHP <7.3)
Pattern means: Name must start with characters Only lowercase and uppercase characters is allowed Allowed special character: space
Submitted by
anonymous
-
3 years ago
0
MaskTDCView4D
Java 8
permite enmascarar la cadena de caracteres y deja mostrar los ultimos 4 digitos
Submitted by
anonymous
-
3 years ago
0
primerCaracter
Java 8
obtiene el primer caracter de cada palabra luego de un espacio
Submitted by
anonymous
-
3 years ago
0
RangeForce exercise
PCRE (PHP <7.3)
exercise
Submitted by
Mark
-
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
0
model value
PCRE (PHP <7.3)
for Levi
Submitted by
anonymous
-
3 years ago
(Last modified 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
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
Valid email address in Go
Golang
A regexp to validate an email address according to https://html.spec.whatwg.org/#valid-e-mail-address . Note that the backslash in the name part of the regexp on that site is there to escape the forward slash, which is not needed in Go. EDIT: This is newer than the version at https://regex101.com/l...
Submitted by
markus@maragu.dk
-
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
0
Otp Extraction
PCRE (PHP <7.3)
It will used for otp extraction from sms
Submitted by
anonymous
-
3 years ago
0
catch url
PCRE (PHP <7.3)
Matches almost all url
Submitted by
anonymous
-
3 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
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
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
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
CPF
PCRE (PHP <7.3)
Regra de validação de CPF.
Submitted by
anonymous
-
3 years ago
1
...
461
462
463
464
465
...
482
IP 3 words and a number
-2
Regular Expression
PCRE (PHP <7.3)
/
(
\d
+
\.
\d
+
\.
\d
+
\.
\d
+
)
\s
+
(
[
\w
\-
]
+
)
\s
+
(
[
\w
\-
]
+
)
\s
+
(
\w
+
)
\s
+
(
\d
+
)
\s
+
/
Open regex in editor
Description
Matches an Ip and any 3 words and a number after separated by any number of spacing characters.
Submitted by
Attalward
-
10 years ago