What's regex to find text "This is the title" inside this tags ? Using Grep, Sed or Awk.
Code Example:
<h1 class="round title">
<a href="/somepage">This is the title</a>
</h1>
I've tried this on above h1 tag.
curl --silent http://domain.com/index.html | grep "<h1 class=\"round title\">"
Result is:
<h1 class="round title"><a href="/somepage">This is the title</a></h1>
and I only need "This is the title" part of it.