Page 1 of 1

Text Replacement to End of Line

Posted: Sun Feb 09, 2020 2:32 am
by dforrest
Is there any way to select all the text from the first time a particular character appears in a line of text, to the end of that line and replace it with other text. The "particular character" may be repeated in what is to be selected for replacement.

Posted: Mon Feb 10, 2020 2:52 am
by ak47wong
To replace "particular character" x to the end of the line with "other text" y:

Click Search > Replace.

Find what: x.*
Replace with: y

Select Regular expression.

Posted: Tue Feb 11, 2020 12:14 pm
by dforrest
So simple. Thank you.