Page 1 of 1

paragrapph marks

Posted: Mon Jan 20, 2003 12:51 pm
by Charles Smyth
At the end of every paragraph in a page of text there is a pragraph mark displayed (it looks like a faint, reversed, upside down P) when the show and hide button is activated.

Sometimes a text file is opened in which there are many stray inter-line paragrph marks, which have to be removed manually to join the lines within a paragraph correctly.

In MS -Word there is the capability to select the paragraph mark form a Special character list and then run a custom find and replace routine to get around this problem. Entering ^p in the find box will do the same thing.

Is there some equivilent for Textpad, since Textapd doesn't recognise ^p as a 'literal string'.

Re: paragrapph marks

Posted: Mon Jan 20, 2003 10:48 pm
by Peter J.
Hello Charles.

Instead of searching for '^p' (I'm not even sure it's a valid Regular Expression), search for '\n'. This is the newline character and finds, essentially, carriage returns. If you replace a newline with nothing or a space it will join the discontinuous lines.

Hope this helps,

Peter.