Reputation: 69
On each line, I have a list of pdfs followed by junk. Like:
yes.pdf xxxxxx
no.pdf aewrnnta
hello.pdf aewraewr
I would like to make it so I get
yes
no
hello
on three separate lines
How can I do this with regex?
Upvotes: 1
Views: 216
Reputation: 24236
Try -
\.pdf.*
in find box
and
'' in replace box
Make sure you have the RegEx radio button checked.
Upvotes: 4