text in a html file

Name

Lynley Lysons

cat file | grep -A1 '

Name

' | sed -n 's|

\(.*\)

|\1|p;s/^[ \t]*//;s/[ \t]*$//' This returns me ... Lynley Lysons instead of Lynley Lysons