I would like to replace a string with regular expression that appears in multiple lines with the character "x":
The problem is to replace words with the x in front that has an integer after the x, such as in a file that contains:
x44name xjanname x50name
Would I need to use sed or some other command to search and replace the word?
The following error occurs:
E486: Pattern not found: x[0-9]name