Archive for the 'emacs' Category

query-replace-regexp-eval

November 1st, 2005

query-replace-regexp-eval RET
Query replace regexp: id=”p\([0-9]+]\)” RET
with eval: (format “id=\”%d\”" (+ (string-to-number \1) 99)) RET
SPACE SPACE SPACE !