Hello:
what I am trying to do:
find: ^.*(string in middle of line)?$
replace (string in middle of line
real stuff - find string "SMTP:xxxxxxx@vbelcas.mail.onmicrosoft.com" and delete everyting else on line
find:
^.*($smtp:[a-z1-9]{7}@vbelcas.mail.onmicrosoft.com)?$
that works so far
the replace I can't get right
tried:
$1
/1
\g1
$&
what am I doing wrong?
Thank in advance!
find string, delete whole line ans replace with string only
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm