Page 1 of 1
doubling text
Posted: Fri Feb 04, 2005 5:44 am
by f000ker
say i got
word
word1
word2
word3
how make it output
wordword
word1word1
word2word2
word3word3
?
Posted: Fri Feb 04, 2005 6:12 am
by s_reynisson
Using regular expressions:
find .*
replace &&
short and sweet IMHO. Not sure if using the "&" is a "proper" regex so here is another version:
find ^(.*)$
replace \1\1
I have used POSIX regular expression syntax, which can be selected from the Editor page of the Preferences dialog box. Hope this helps.
Posted: Fri Feb 04, 2005 8:32 am
by ben_josephs
Or even:
replace .*
with \0\0