Regex match pattern inside a wrapping pattern
- by shivesh
I want match all phone numbers that are wrapped between << and tags.
This regex for phone numbers:
0[2349]{1}\-[1-9]{1}[0-9]{6}
I tired to add lookahead (and lookbehind) like (?=(?:>>)) but this didn't work for me.
DEMO