This is similar to question VIM: insert or delete data based on position
I am trying to replace (not just insert) the desired text at position 7 in every line in a file. Based on the regex provided in the solution in the above question, I tried:
a. %s/\%=7c/text/ (failed error message - illegal character)
b. %s/\%7c/text/g (says correct amount of lines / changes were made BUT blank space is still there after "text")
c. %s/\%7c/text/ (same as b)