Help!

how to replace new lines?

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Formating Long Docs RSS
Next:  Page x of y issue - help 2  
Author Message
light_wt
External


Since: Feb 06, 2007
Posts: 2



PostPosted: Wed Feb 07, 2007 1:52 am    Post subject: how to replace new lines?
Archived from groups: microsoft>public>word>formatting>longdocs (more info?)

Hi,

I have been doing the straight forward finding new lines using ^p .

If I do a wild card search (regular expression), what to use in place of the
^p? I've tried \n. It didn't work. It works with ^p.

Thanks.
Back to top
Suzanne S. Barnhill
External


Since: Sep 26, 2003
Posts: 24483



PostPosted: Wed Feb 07, 2007 1:46 pm    Post subject: Re: how to replace new lines? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

To add to what Jezebel and Graham have said, ^p doesn't find "new lines." It
finds paragraph breaks. A "line break" (new line character) is found by
searching for ^l (lowercase L); this works with wildcards as well.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"light_wt" wrote in message

> Hi,
>
> I have been doing the straight forward finding new lines using ^p .
>
> If I do a wild card search (regular expression), what to use in place of
the
> ^p? I've tried \n. It didn't work. It works with ^p.
>
> Thanks.
Back to top
Graham Mayor
External


Since: Jul 04, 2006
Posts: 4874



PostPosted: Wed Feb 07, 2007 2:54 pm    Post subject: Re: how to replace new lines? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

See http://www.gmayor.com/replace_using_wildcards.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

light_wt wrote:
> Hi,
>
> I have been doing the straight forward finding new lines using ^p .
>
> If I do a wild card search (regular expression), what to use in place
> of the ^p? I've tried \n. It didn't work. It works with ^p.
>
> Thanks.
Back to top
Jezebel
External


Since: Feb 24, 2005
Posts: 2180



PostPosted: Wed Feb 07, 2007 9:44 pm    Post subject: Re: how to replace new lines? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

^013 - you can use the character code equivalent for any character.



"light_wt" wrote in message

> Hi,
>
> I have been doing the straight forward finding new lines using ^p .
>
> If I do a wild card search (regular expression), what to use in place of
> the
> ^p? I've tried \n. It didn't work. It works with ^p.
>
> Thanks.
Back to top
light_wt
External


Since: Feb 06, 2007
Posts: 2



PostPosted: Fri Feb 09, 2007 1:43 pm    Post subject: Re: how to replace new lines? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for all of the responses.

In Word,
^013 works,
^l doesn’t

If I use WordPad, both doesn’t work.

If I use WordPad I lot, what is the character to use to replace that "new
line". Is it CR or CR/LF or LF use in WordPad?

Thanks.
Back to top
Graham Mayor
External


Since: Jul 04, 2006
Posts: 4874



PostPosted: Sat Feb 10, 2007 4:22 pm    Post subject: Re: how to replace new lines? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

^l will work in Word if there is a line break to find. ^011 is an
alternative for that.
This forum is for Word! Wordpad is a rudimentary word processor that does
not have the search functionality of Word.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


light_wt wrote:
> Thanks for all of the responses.
>
> In Word,
> ^013 works,
> ^l doesn't
>
> If I use WordPad, both doesn't work.
>
> If I use WordPad I lot, what is the character to use to replace that
> "new line". Is it CR or CR/LF or LF use in WordPad?
>
> Thanks.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Formating Long Docs All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum