L
Littleweseth
Guest
Is there a way to get grep in Word X? What i'm trying to do is reformat word-wrapped text (think 80-char fixed width... -ish) to take out all the returns, EXCEPT the ones that occur immediately after other returns - i.e. the ones that separate paragraphs - and replace them with spaces. With the inbuilt Replace tool, i can search ^r(return char), and do the appropriate replace, but not exclude the returns immediately after other returns.
If anyone's curious about why I'm trying to do this, ironically enough it's so i can print out the grep reference from the textwrangler help file while using a minimum of paper - hence the reason i'm trying to cut all the whitespace. I'm trying to copy/paste it into word - which does kill all the tables (grr!) and mangles the formatting, whether i copy it from acrobat or help viewer. I need to keep the formatting, though, hence the reason i don't just plug it into something that has grep.
(maybe i should just print the **** PDF and forget about the 7 excess pages - but nerds nevarrr give up!)
Code:
So, as an example, i'm trying to turn :
I have a large
collection of
seashells and other things.
This is very
kewlish and leet
and haxorish
and cubic.
into :
I have a large collection of seashells and other things.
This is very kewlish and leet and haxorish and cubic.
but word only lets me do :
I have a large collection of seashells and other things. This is very kewlish and leet and haxorish and cubic.
Personally, i'm not that fond of huge run-on paragraphs that go on for a 170 pages - or so. Working with large quantities of text is fun, verr-ah fun.
If anyone's curious about why I'm trying to do this, ironically enough it's so i can print out the grep reference from the textwrangler help file while using a minimum of paper - hence the reason i'm trying to cut all the whitespace. I'm trying to copy/paste it into word - which does kill all the tables (grr!) and mangles the formatting, whether i copy it from acrobat or help viewer. I need to keep the formatting, though, hence the reason i don't just plug it into something that has grep.
(maybe i should just print the **** PDF and forget about the 7 excess pages - but nerds nevarrr give up!)