search and replace in vi (woth TAB & SPACE & new line)
<p>I have one file and would like to do search and replace – as shown </p>

<p>My_name group_1 \ (TAB)(SPACE)</p>

<p>(TAB)(SPACE)       -class { student_1 }</p>

<p>My_name group_2 \ (TAB)(SPACE)</p>

<p>(TAB)(SPACE)       -class { student_1 }</p>

<p>My_name group_3 \ (TAB)(SPACE)</p>

<p>(TAB)(SPACE)       -class { student_3 }</p>

<p>Please note that – before ‘-class’ there is TAB and SPACE</p>

<p>I am using vi.  From above strings would like to do something like this – </p>

<p>My_name group_1        -class { student_1 }</p>

<p>My_name group_2        -class { student_1 }</p>

<p>My_name group_3        -class { student_3 }</p>

<p>I tried search and replace with   :%s, selected the entire file and did - :s/..</p>

<p>But no success.  Can you help me?</p>