(?<=\+)(.*)(?=\@)
will match world
in [email protected]
- start at
+
with(?<=\+)
- select all characters with
(.*)
- end at
@
with(?-\@)
^MATCHER$
$[5-6]^
will match "5"
$[5-6]^
will not match "7"
$[5-6]^
will not match "55"
(?<=\+)(.*)(?=\@)
will match world
in [email protected]
+
with (?<=\+)
(.*)
@
with (?-\@)
^MATCHER$
$[5-6]^
will match "5"
$[5-6]^
will not match "7"
$[5-6]^
will not match "55"