Deleting "//+-------" Lines Method?

 

I made a source but,

It contains so many boxes.

Do you have any software or methods for deleting this "//" lines?

  

My Source :

 

  //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |
            //+------------------------------------------------------------------+
            //+------------------------------------------------------------------+
            //|                                                                  |

            //+------------------------------------------------------------------+

 

 ........ And So on..

 

Open up Replace (CTRL + H)

  • Find what:  //+------------------------------------------------------------------+
  • Delete the contents of Replace with: 
  • Press Replace All 

 Do the same with  //|                                                                  |

 
honest_knave:

Open up Replace (CTRL + H)

  • Find what:  //+------------------------------------------------------------------+
  • Delete the contents of Replace with: 
  • Press Replace All 

 Do the same with  //|                                                                  |

It's good but It cannot erase the rows.

I want to erase the rows too. 

 
Shin Joo Young:

It's good but It cannot erase the rows.

I want to erase the rows too. 

carefull with more Replace All it can kill your source. Better manual after honest_knaves suggestion.
Reason: