Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
emacs 26.1, windows 10
I have some text. I need to replace all text before WARN
query replace regexp: RET
But I need to delete all text BEFORE WARN.
How I can do this?
here is the result:
To remove the text before WARN, just enter WARN as the replacement text. That is, use WARN as your input to the second prompt.
Required, but never shown