Your problem comes from \<
and \>
than stand for word boundary. Do not escape these characters if you want to match <
and >
.
- Ctrl+H
- Find what:
^.+?<(.+?)>
- Replace with:
$1
- TICK Wrap around
- SELECT Regular expression
- UNTICK
. matches newline
- Replace all
Explanation:
^ # beginning of line
.+? # 1 or more any character but newline, not greedy
< # literally
(.+?) # group 1, 1 or more any character but newline, not greedy
> # literally
Screenshot (before):

Screenshot (after):

Be aware that will not work for email like "very.(),:;<>[]\".VERY.\"very@\\ \"very\".unusual"@strange.example.com