Search found 248 matches

by gcotterl
Mon Oct 14, 2024 4:00 pm
Forum: General
Topic: REPLACE ALL: only ONE instance of the text is replaced
Replies: 9
Views: 7037

Re: REPLACE ALL: only ONE instance of the text is replaced

I'm not an a macro-bian (for TextPad or Excel)
by gcotterl
Mon Oct 14, 2024 3:08 pm
Forum: General
Topic: REPLACE ALL: only ONE instance of the text is replaced
Replies: 9
Views: 7037

Re: REPLACE ALL: only ONE instance of the text is replaced

I'm using TextPad version 9.5.2 (64-bit) Using the search and replace strings and other parameters at the top of my text file, I can NOT reproduce my problem either. I will continue using REPLACE ALLto see if my problem recurs. I will let you know, either way. BTW: I always thought TEXTPAD was ...
by gcotterl
Mon Oct 14, 2024 2:03 pm
Forum: General
Topic: REPLACE ALL: only ONE instance of the text is replaced
Replies: 9
Views: 7037

Re: REPLACE ALL: only ONE instance of the text is replaced

The search and replace strings info is at the top of the attached sample text document.
by gcotterl
Mon Oct 14, 2024 1:52 pm
Forum: General
Topic: regex: replace )\n with \n\n
Replies: 4
Views: 4463

Re: regex: replace )\n with \n\n

Thanks, I will do that.

BTW: I don't know if there's a way to mark this thread as wonderfully resolved nor how to close this item. Can you do it for me?
by gcotterl
Mon Oct 14, 2024 11:09 am
Forum: General
Topic: Unwanted tabs
Replies: 2
Views: 3880

Re: Unwanted tabs

Done

Thanks you for you quick response!
by gcotterl
Mon Oct 14, 2024 11:05 am
Forum: General
Topic: regex: replace )\n with \n\n
Replies: 4
Views: 4463

Re: Dialog box

so, in my example, "Find What" would be \)\n ?
by gcotterl
Mon Oct 14, 2024 11:02 am
Forum: General
Topic: REPLACE ALL: only ONE instance of the text is replaced
Replies: 9
Views: 7037

Re: REPLACE ALL

Scope is set to Active Document (not Selected Text)
by gcotterl
Mon Oct 14, 2024 9:12 am
Forum: General
Topic: regex: replace )\n with \n\n
Replies: 4
Views: 4463

regex: replace )\n with \n\n

I want to replace )\n with \n\n Since \n is a regular expression, “Regular Expression” is ticked on the “REPLACE” screen. The “FIND WHAT” box contains: )\n The “REPLACE WITH” box contains: \n\n When I click any of the “REPLACE” buttons, a dialog box is displayed saying “Found a closing ) with no corr ...
by gcotterl
Mon Oct 14, 2024 8:39 am
Forum: General
Topic: REPLACE ALL: only ONE instance of the text is replaced
Replies: 9
Views: 7037

REPLACE ALL: only ONE instance of the text is replaced

On the REPLACE screen: the "FIND WHAT" box contains the text I want replaced. the "REPLACE WITH" box contains the replacement text. When I then click "REPLACE ALL", only ONE instance of the text is replaced. To replace ALL instances, I have to click "SELECT ALL" (on the "Edit" menu) BEFORE I click ...
by gcotterl
Mon Oct 14, 2024 8:30 am
Forum: General
Topic: Unwanted tabs
Replies: 2
Views: 3880

Unwanted tabs

I do these two actions: 1) The "Replace With" box contains many space characters. After I click any of the "Replace" buttons, unwanted tab characters appear among the space characters in the text document. 2) In the "Block Select Mode": I position the cursor in row-number 1 and in the column-number ...
by gcotterl
Fri Nov 17, 2023 4:02 pm
Forum: General
Topic: Replace with multiple spaces produces tab character
Replies: 1
Views: 2887

Replace with multiple spaces produces tab character

When I enter a string of spaces in the "Replace With" box, one (or more) tab (\t) character(s) get inserted in the document. How can I prevent this?

Note: The "Regular Expression" box is checked
by gcotterl
Fri Nov 17, 2023 3:52 pm
Forum: General
Topic: Replace . (period) with \n (new line)
Replies: 5
Views: 6861

Re: Replace . (period) with \n (new line)

Thank you
by gcotterl
Tue Oct 10, 2023 1:48 am
Forum: General
Topic: Replace . (period) with \n (new line)
Replies: 5
Views: 6861

Re: Replace

Thanks BenJosephs

BTW: Why wasn't a notification that you replied to my question e-mailed to me?
by gcotterl
Sun Oct 08, 2023 9:48 pm
Forum: General
Topic: Replace . (period) with \n (new line)
Replies: 5
Views: 6861

Replace . (period) with \n (new line)

How do I replace the '.' (period) character with the regular expression \n (new line)?
by gcotterl
Sat Jul 16, 2022 4:39 pm
Forum: General
Topic: Search/Replace problem
Replies: 8
Views: 3481

If my document contains tab characters (\t), I want to retain the tabs.

Why would I tick ("set") "Convert new tabs to spaces".

Will that prevent tab characters when replacing the "Find What" term with spaces?