And I'm an idiot - had the wrong slash
should be \1
Search found 5 matches
- Thu Dec 05, 2019 3:26 pm
- Forum: General
- Topic: find string, delete whole line ans replace with string only
- Replies: 2
- Views: 1738
- Wed Dec 04, 2019 5:26 pm
- Forum: General
- Topic: find string, delete whole line ans replace with string only
- Replies: 2
- Views: 1738
find string, delete whole line ans replace with string only
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 ...
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 ...
- Fri May 04, 2018 12:28 pm
- Forum: General
- Topic: Regular expression bug - lock up on blank line search
- Replies: 4
- Views: 1847
- Fri May 04, 2018 12:22 pm
- Forum: General
- Topic: Regular expression bug - lock up on blank line search
- Replies: 4
- Views: 1847
- Thu May 03, 2018 1:05 pm
- Forum: General
- Topic: Regular expression bug - lock up on blank line search
- Replies: 4
- Views: 1847
Regular expression bug - lock up on blank line search
latest version (8.1.1, 32 bit, windows 10)
doing a regex search and replace on blank lines , either
^\s*$
or
^$
both lock up the editor, forever spinning cursor. Only choice is to kill Textpad and lose changes.
Anyone else hit this?
doing a regex search and replace on blank lines , either
^\s*$
or
^$
both lock up the editor, forever spinning cursor. Only choice is to kill Textpad and lose changes.
Anyone else hit this?