Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Emacs equivalent would be

    M-x replace-regexp word1\(.*\)word2$ RET word3\1word4 RET
Assuming you have `replace-regexp` bound to a key, it's practically the same. Works on the whole buffer (by default), or the region (if selected).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: