Search found 6 matches

by jbrady33
Thu Dec 05, 2019 3:26 pm
Forum: General
Topic: find string, delete whole line ans replace with string only
Replies: 2
Views: 1522

And I'm an idiot - had the wrong slash

should be \1
by jbrady33
Wed Dec 04, 2019 5:26 pm
Forum: General
Topic: find string, delete whole line ans replace with string only
Replies: 2
Views: 1522

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 I ...
by jbrady33
Fri May 04, 2018 12:28 pm
Forum: General
Topic: Regular expression bug - lock up on blank line search
Replies: 4
Views: 1281

CORRECTION: Your string didn't match lines with text, my error reading the highlighting. I did sort of fix my issue though, by using ^\n to catch beginning and end of line together I avoid the lock up, and remove carriage return only line the way I wanted. ^\s*\n also removes blank lines with white ...
by jbrady33
Fri May 04, 2018 12:22 pm
Forum: General
Topic: Regular expression bug - lock up on blank line search
Replies: 4
Views: 1281

the string you suggested seems to match lines that end with a blank (even if there is other text on the line. I was looking for either lines that are just carriage returns or maybe with just white space - no other text. I did confirm one part - if I do "find" on ^$ all is well, finds every line with ...
by jbrady33
Thu May 03, 2018 1:05 pm
Forum: General
Topic: Regular expression bug - lock up on blank line search
Replies: 4
Views: 1281

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?
by jbrady33
Mon Apr 03, 2006 3:52 pm
Forum: Enhancement Suggestions
Topic: HTML color coding
Replies: 1
Views: 363

HTML color coding

Have always been a big fan of textpad, I love the look, they layout, the whole feel. One thing that is very lacking is HTML tag start/end color coding. A co-worker pointed me towards EditPlus 2 for this feature, but I would much rather stay with TextPad.