3

My Search result has hundreds of textlines like

Line 333:   

<li id="menu-item-690" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-690"><a href="../Flatsome/wishlist/">Wishlist</a></li>

I want to delete everything before <a and after /"> .. i.e. I want to keep only href="" links.

How can I do that ?

1
  • 1
    Use the regex .*\.\. to select everything on the line up to the ..
    – ztk
    Dec 16, 2015 at 15:50

1 Answer 1

1

RegEx replace (in Notepad++ for example):

  • (.*)(href="[^"]*")(.*)

with

  • \2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .