:%s/9\]\[A/9\] \[A/g works for me. You just need to use the \ to escape the ][ assuming there are no other instances of 9][A
BobLQ On 1/31/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
I want to know how to use vi to do search and replace. Is there something easier to use than "help" to find out how? I want to replace all instances of "^[0-9][A-Z]" with "^[0-9] [A-Z]". I've been making these and other changes in gedit manually. But this is one set that could be done so much faster with regular expressions. TIA -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
