On Tuesday, November 28, 2006 10:12 PM [GMT+1=CET], Peter Boholdt <[EMAIL PROTECTED]> wrote:

I often need to know the exact numbers of characters excluding spaces
in a Writer document. It seems that the properties window only shows
the number including spaces.

Is there a way to establish the number of characters without spaces?

Thank you.

Regards,
Peter Boholdt
Use regular expressions to replace characters that are not spaces with themselves. Using "replace all" will give you the count you need. Using REs, a non-space is represented by "[^ ]" (literally "character class not-space") and "itself" is represened by "&" (no quotes in either case).

Note that things that look like spaces - tabs, blank lines, special formatting etc. are *not* included.

Harold Fuchs
London, England

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to