Remove/Replace specific character from specific location



  • Hi.
    Sorry if this is allready Q&A I have tried searching since last night without results cause I don’t know what to search for :)

    Anyways. I have a task that i have to do on 200+ files. I figured out the easy part how to edit multiple files but can someone please tell me how to remove a specific character in a specific place.

    Lets say for example that I want to remove all “#” in the begining of lines but no other “#” characters in the middle/end.

    Help me out and Il draw you a pony.



  • Solved

    once i figured out that ^ and $ marks start/end it was easy :)

    New to this, dont judge me haha


Log in to reply