Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I'd like a "find and replace" function in the post editor. As it stands, I copy it into Notepad, apply Find & Replace, and copy it back. That's a little inconvenient. Just a simple one would do, for those answers whose solutions are to, say, double backslashes, and there are a lot of them.

share|improve this question
What kinds of things are you using find and replace for? I don't believe I've ever needed to use a find and replace before. – animuson Nov 10 '11 at 4:35
@animuson: One recent example is when the problem was unescaped backslashes. I would have liked a simple replacement of ` to ``. (Ugh, can't even get it right in the comments! \ escapes \ but not `... sometimes.) Another example might be replacing newlines with <br />` in long blockquotes. – Ryan O'Hara Nov 10 '11 at 4:36
Some kind souls have written a userscript that you can find over at stackapps for this purpose. – jonsca Nov 10 '11 at 4:43
@jonsca: Write that as an answer, 'cause it's correct for now! Thanks! +1 – Ryan O'Hara Nov 10 '11 at 4:48
An avid user of the script @sathya reported in a comment to my now-deleted answer that it breaks under the inline editor, so I'll leave the suggestion as a comment. – jonsca Nov 10 '11 at 5:05
Is this a duplicate of Can we have a set of 'editor tools'? – Dori Nov 10 '11 at 5:49
@Dori I don't think so, if only because that's one of those dozen-suggestions-in-one omnibus posts. – Pops Jul 18 '12 at 14:26

why don't you use the built-in find function of the chrome and other browsers. It gets you where you want. But it doesn't provide the replace functionality. You might checkout the webstore for extensions if there is any such extension for find and replace

share|improve this answer
Well, at least on Mac/Safari, the WMD editor breaks "Find Next" (i.e., ⌘G). I'd like to see some replacement for that, given that they've removed the browser's built-in functionality. – Dori Nov 10 '11 at 8:12
So? If it doesn't provide replace, I may as well continue using Notepad. It's not like I can't find them manually, and the browser's find function is either a) broken, as Dori points out, or b) finding instances outside of the editor, too. – Ryan O'Hara Nov 10 '11 at 18:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .