VIM regular expression
Posted: Fri Jul 06, 2007 3:24 am
Hello everyone,
I have a bothersome problem here with a huge XML file. The creator of XML file is using UTF-16 character set and some special characters are included to the file. My problem is starting at right here.
I have tried to replace special characters with Regular Expression in VIM. But doesn't work and getting that error:
E488: Trailing characters
Here is the regular expression:
s 1,$ s/^v//g
I'm not sure about the regular expression above. Do i something wrong?
Thank you for your time.
Umut
I have a bothersome problem here with a huge XML file. The creator of XML file is using UTF-16 character set and some special characters are included to the file. My problem is starting at right here.
I have tried to replace special characters with Regular Expression in VIM. But doesn't work and getting that error:
E488: Trailing characters
Here is the regular expression:
s 1,$ s/^v//g
I'm not sure about the regular expression above. Do i something wrong?
Thank you for your time.
Umut