- Posted by
- I suggest following: Run a Perl regular expression Replace all with search string ( \S+ ) $ and the replace string consists of 40 spaces and \1 to insert 40 spaces left to last word on a line. Run a Perl regular expression Replace all with search string ^.{40}\K + and the replace string is an empty ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
Nov 22, 2018
- Hi Manuel, everything is possible. Warning! Following replaces are a little crazy ;) 1. Normalize spaces F: ^\h*(\S{3,30})\h+(\S+)$ R: \1 \2 2. Adjust spaces according to the length of the 1st word F: ^\h*(?|(\S{30})\h{30}|(\S{29})\h{29}|(\S{28})\h{28}|(\S...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Nov 22, 2018