Vim replace is very hardy to use when I haven’t came across problems like this:
1) replace numbers with other text
2) replace text like /static/ to www.website.com/
I assume I need to use some regex to tackle the first problem and some way to get around the / mark for the second.
Any quick solutions ?
Thanks!
:%s/\d\+/sometext/g:%s/\/static\//www.website.com\//g