Search and replace ^L character

26 views
Skip to first unread message

John Musa

unread,
Aug 7, 2019, 10:33:38 PM8/7/19
to vim_use
I converted a pdf to txt and it left a number of ^L highlighted blue, some are ^L alone which I removed, are others are embedded at the start of a word ^Lxyz. How do I write a search and replace for the latter? Thanks

Reid Thompson

unread,
Aug 8, 2019, 6:54:52 AM8/8/19
to vim...@googlegroups.com, Reid Thompson
On Wed, 2019-08-07 at 19:33 -0700, John Musa wrote:
> [EXTERNAL SOURCE]
>
>
>
> I converted a pdf to txt and it left a number of ^L highlighted blue, some are ^L alone which I removed, are others are embedded at the start of a word ^Lxyz. How do I write a search and replace
> for the latter? Thanks
>
> --

does
:g/^L/s///g

not work?

^L is created by CTRL-V L

Reply all
Reply to author
Forward
0 new messages