Is it possible in textpad to change all the values in a particular column for an entire file. I would like to change the value of column 80 from a space to 'X' for every line. SPF edit allows this but can't figure out if textpad will do this.
Thanks
Changing all chars in a spec column
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Ed Orchard
Re: Changing all chars in a spec column
Use find and replace (F8), regular expression checked and find
^\(.\{79\}\)
(there is a trailing space in the previous line)
Replace with
\1X
The first reg exp matches 79 of any character followed by space
The replacement expression leaves the 79 characters alone and replaces the space with an X
^\(.\{79\}\)
(there is a trailing space in the previous line)
Replace with
\1X
The first reg exp matches 79 of any character followed by space
The replacement expression leaves the 79 characters alone and replaces the space with an X
-
Mark Schnitzius
Re: Changing all chars in a spec column
Or, turn on block select mode by double clicking "Block" at the bottom of the textpad window, select the column, and do a Replace.
-
Andreas
Re: Changing all chars in a spec column
or, after selecting the column, use Edit/Fill Block...