Regular Expressions 101

Library entries

0
java

Martch Letras y Parentesis

Martch Letras y Parentesis
Submitted by Daniel Gonzalez - 11 days ago
0
java

Riedler's 2nd URL regex

why did I make this?
Submitted by Riedler - 22 days ago
0
java

test everything

hello
Submitted by anonymous - a month ago
0
java

Pick uuidValue from jSON payload

.
Submitted by jeevan - 2 months ago
0
java

section headers

ff
Submitted by ff - 2 months ago
0
java

awdwa

dwa
Submitted by dwa - 2 months ago
1
java

json value extract

json value extract
Submitted by anonymous - 2 months ago
1
java

Email finder

Matches with the valid email addresses.
Submitted by anonymous - 2 months ago
0
java

Other segment

Other segments
Submitted by Lufram - 2 months ago
0
java

Take segments to string

Take segments to string
Submitted by Lufram - 2 months ago
0
java

Kyivstar phone number

Kyivstar phone number
Submitted by milka_vlad - 3 months ago
0
java

tas-branch-validation

tas-branch-validation
Submitted by doron-hafner - 3 months ago
0
java

ip address

ip address regex
Submitted by shyam - 3 months ago
0
java

Titulo da expressao

\w
Submitted by anonymous - 3 months ago

Palindromes

Vote

2

Regular Expression
pcre2

/
(?(DEFINE) (?<palindrome> # Recursive alternative first to match recursive palindromes. # Invert alternatives order to match nested palindromes individually # and (drastically) reduce backtracking. (?<l1>\p{L})\p{M}* [\s\p{P}]* (?&palindrome) [\s\p{P}]* \k<l1>\p{M}* | (?<l2>\p{L})\p{M}* [\s\p{P}]* \k<l2>\p{M}* | \p{L}\p{M}* ) ) (?<=[\s\p{P}]|^) (?&palindrome) (?(?=\s*\p{P}) (?:\s*\p{P})+ | (?=\s|$))
/
gix

Description

Loading markdown...
Submitted by NicolaF_ - 4 months ago