E.g. I've got a text file like this:
abc,#32432,he#llo
xyz,#989,wor#ld
I wish to change it to be:
abc,32432,he#llo
xyz,989,wor#ld
Just remove first "#" from each row. How to do that? Thanks.
E.g. I've got a text file like this:
abc,#32432,he#llo
xyz,#989,wor#ld
I wish to change it to be:
abc,32432,he#llo
xyz,989,wor#ld
Just remove first "#" from each row. How to do that? Thanks.
To only change the first
#
in a string you could use a regular expression like thisExplanation as by Regexbuddy
You can use simple regex that replaces a hash that follows a section of non hashes with nothing, something like this: