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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login