Sublime Forum

Regex: Select all from row except tags

#1

hello, I have this kind of rows:

<li><a hrefs="love-and-attitude.html" title="Love and Attitude">Love and Attitude (24)</a></li>
<li><a hrefs="paint-and-gain.html" title="Paint And Gain">Paint And Gain (15)</a></li>
<li><a hrefs="mother-and-father.html" title="Mother And Father">Mother And Father (19)</a></li>

The desire output:

Love and Attitude (24)
Paint And Gain (15)
Mother And Father (19)

0 Likes

#2

^<li><a[^>]*>([^<]*).*$
\1

1 Like

#3

lovely, thank you very much

0 Likes