regex - Match "de" after abc in regular expression? -
i have string "abb"
, , want match "b"
after "a"
.
- is possible?
- if possible, how this?
p.s.: know use "a(b)"
match "ab"
, extract "b"
in group. using in text editor, cannot use group technique.
you can use positive look-behind assertion that:
(?<=a)b
this match b without matching a. (?<=a)
makes sure b preceded a.
Comments
Post a Comment