Something
public text v1 · immutabletext in a html file
<td><h2>Name</h2></td>
<td><p>Lynley Lysons</p></td>
cat file | grep -A1 '<td><h2>Name</h2></td>' | sed -n 's|<td><p>\(.*\)</p></td>|\1|p;s/^[ \t]*//;s/[ \t]*$//'
This returns me ...
Lynley Lysons<newline>
instead of
Lynley Lysons