how to replace new lines?

L

light_wt

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.
 
S

Suzanne S. Barnhill

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.
 
L

light_wt

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.
 
G

Graham Mayor

^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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top