;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to cancel. ;; Original keys: <> [^ 0 - 9 ] 1 0 [^ 0 - 9 ]*$ RET C-a C-SPC C-e 2*M-w C-x o C-y RET C-x o C-e Command: last-kbd-macro Key: none Macro: <> ;; search-forward-regexp [^ ;; self-insert-command * 2 0 ;; self-insert-command - ;; self-insert-command 9 ;; self-insert-command ] ;; self-insert-command 1 ;; self-insert-command 0 ;; self-insert-command [^ ;; self-insert-command * 2 0 ;; self-insert-command - ;; self-insert-command 9 ;; self-insert-command ]*$ ;; self-insert-command * 3 RET ;; newline C-a ;; move-beginning-of-line C-SPC ;; set-mark-command C-e ;; move-end-of-line 2*M-w ;; kill-ring-save C-x o ;; other-window C-y ;; yank RET ;; newline C-x o ;; other-window C-e ;; move-end-of-line