Menu

Notepad ++ Regular Expressions

2008-03-28
2012-11-13
  • Nobody/Anonymous

    I am attempting to remove spaces after a semi colons so that the letters or numbers are indented left. Here is an example:

    john;   smith;    123 Main Street; anywhere;           abc@email.com;   123xyz

    I want it to read:

    john;smith;123 Main Street;anywhere;abc@email.com;123xyz

    I have tried to "kill all white spaces, but it gets rid of spaces I need such as in the address and other places. I tried this expression and it didn't work

    (; )[^A-Za-z0-9]

    No luck. Any help would be great. I have to rectify this with a text document with 1000 lines. Thank you for your consideration.