Reputation: 2081
I am trying to replace expressions like silva:2018
to silva2018
using replace regex in emacs.
I had tried something like [a-z]:[0-9]
to find the expression (in this example a:2
but I don't know how to delete the symbol :
.
Upvotes: 0
Views: 188
Reputation: 120644
This is straight forward with Regexp Replacement:
M-x replace-regexp <RET> \([a-z]\):\([0-9]\) <RET> \1\2 <RET>
Upvotes: 4