Menu

HOW TO delete spaces at end of line ?

2007-10-02
2012-11-13
  • Nobody/Anonymous

    Hi everybody!

    I'd like to know if there is a function or something that can delete all spaces from the last character of the line
    to the end of line (in a .txt)?

    Thank you ;)

     
    • Nobody/Anonymous

      replace in regex mode

      find string " +$" (without quotas, leading space), replace leave blank

       
    • Nobody/Anonymous

      Go to Edit->Trim trailing space.

       
MongoDB Logo MongoDB