REPLACE ALL: only ONE instance of the text is replaced
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
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 "REPLACE ALL"
Why doesn't "REPLACE ALL", replace ALL instances?
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 "REPLACE ALL"
Why doesn't "REPLACE ALL", replace ALL instances?
Last edited by AmigoJack on Mon Oct 14, 2024 1:50 pm, edited 1 time in total.
Reason: more verbose subject
Reason: more verbose subject
Re: REPLACE ALL
Make sure that the scope isn't set to selected text on the Replace dialog box.
Re: REPLACE ALL
Scope is set to Active Document (not Selected Text)
Re: REPLACE ALL
In that case, please provide details of what your search and replace strings are, and a sample of the text containing more than one instance of the search string.
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.
- Attachments
-
- movie quotes.txt
- (7.2 KiB) Downloaded 132 times
Re: REPLACE ALL: only ONE instance of the text is replaced
Cannot reproduce with TextPad 8.4.0 and all variations of "Match whole words", "Match case" and "Regular expression". Do note that line 3 has a trailing space after "the" - so do you actually want to search for "the" or really for "the "?
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 located in Australia, not in the UK. Is one of the other problem-solvers in Ozland?
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 located in Australia, not in the UK. Is one of the other problem-solvers in Ozland?
Re: REPLACE ALL: only ONE instance of the text is replaced
If you had recorded that replace command as a macro, make sure that the macro's default scope is set to "Document".
Re: REPLACE ALL: only ONE instance of the text is replaced
I'm not an a macro-bian (for TextPad or Excel)
Re: REPLACE ALL: only ONE instance of the text is replaced
Both address and telephone predial in the contact information have always been british. I'm european.