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.
Become a sponsor today!
Community Patterns
Search among 12,080 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
aaa
PCRE2 (PHP >=7.3)
aaa
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
Validar email
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
3 years ago
0
Comentarios en Basic
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
3 years ago
0
Get the username from LinkedIn-URL
PCRE2 (PHP >=7.3)
Get only the profile name from international or german LinkedIn-URL
Submitted by
LEIK Software
-
3 years ago
0
email
PCRE2 (PHP >=7.3)
........
Submitted by
ramses
-
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
parse/replace closed tag
PCRE2 (PHP >=7.3)
parse and replace a {tag}..{/tag} or {tag}
Submitted by
fl0
-
3 years ago
0
HTML Table Parse
PCRE2 (PHP >=7.3)
The pulls in and groups all HTML tables.
Submitted by
PrimeTime416
-
3 years ago
0
Campeonato Brasileiro Serie A - Transmissões Oficiais dos Times - TEMPOS DO JOGO
PCRE2 (PHP >=7.3)
Essa expressão regular captura os minutos (45' / 38min , etc..) em tweets dos times da série A durante as transmissões dos jogos do campeonato brasileiro da série A. O padrão inclui uma enorme variedade de grafias diferentes (incluindo o emoticon do cronômetro), sendo o objetivo conseguir retornar ...
Submitted by
Leonardo Paris
-
3 years ago
0
Indian Pincode
PCRE2 (PHP >=7.3)
Indian area Pincode regex
Submitted by
Vipul Jha
-
3 years ago
0
KUN task name tempalte
PCRE2 (PHP >=7.3)
Quick template to name a KUN task
Submitted by
yimao
-
3 years ago
0
Email address formats
PCRE2 (PHP >=7.3)
Validates a few unregular formats of email.
Submitted by
Oren Zur-Shavit
-
3 years ago
0
Regix xinj xof
PCRE2 (PHP >=7.3)
Bebebe
Submitted by
anonymous
-
3 years ago
1
...
510
511
512
513
514
...
604
Pull Words from Sentence
0
Regular Expression
Java 8
"
(?<ApWord>
(
(
\w
+
)
(
'
)
(
\w
+
)
)
)
|
(?<HyWord>
(
(
\w
+
)
(
-
)
(
\w
+
)
)
)
|
(?<Rest>
\w
+
)
"
gm
Open regex in editor
Description
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