Regular Expressions 101

Sponsors

Library entries

0
pcre

Data attributes with or without value

no description available
Submitted by anonymous - 3 years ago
0
pcre

Canadian Phone Number Validator

no description available
Submitted by anonymous - 3 years ago
0
pcre

Wii the-eye.eu

Extract info from anchor links
Submitted by anonymous - 3 years ago
0
pcre

ex3

no description available
Submitted by anonymous - 3 years ago
0
pcre

加床1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

洗衣1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

送餐1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

投诉1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

接送机1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

Final

no description available
Submitted by anonymous - 3 years ago
0
pcre

ex1

no description available
Submitted by anonymous - 3 years ago
0
pcre

叫车1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

续住1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

订房1.0.0.0503

no description available
Submitted by anonymous - 3 years ago
0
pcre

Whatsapp Regex

no description available
Submitted by anonymous - 3 years ago
0
pcre

退房1.0.0.0502-1

no description available
Submitted by anonymous - 3 years ago

Lazy/greedy and non capturing group

Vote

0

Regular Expression
pcre

/
(?<First>\w+?) (?# First word UNGREEDY) (?> (?# Second group - see it is optional) (?>_) (?# But if it exists, must start with "_" NON CAPTURING GROUP ) (?<Second>\w+) (?# Snd then there should be a word - at least one char) )* (?# remember - the group is optional) \b (?# All the puttern must finish with word boundary)
/
gmx

Description

Loading markdown...
Submitted by anonymous - 3 years ago