Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I find myself wanting to be able to do regular expression search and replaces in the Mathematica gui over and over again. Using a regex capable editor (such as vim), I could do something like:

 :,$ s/ *+ *s\>//cg

for a prompted search and replace of '+ s', ' +s', '+s', ..., but not '+ sa' (say). Is there any thing that offers similar capability in the Mathematica GUI?

share|improve this question
The Find window (Cmd/Ctrl+F) is a notebook, you might get something by exploring the functionality there: Get[FileNameJoin[{$InstallationDirectory,"SystemFiles","FrontEnd","SystemResour‌​ces","Find.nb"}]] – Martin John Hadley Sep 29 '13 at 1:10
Very much related: – Martin John Hadley Sep 29 '13 at 1:26
up vote 1 down vote accepted

You may use the WorkBench if you have some cash needing to abandon your wallet.

Mathematica graphics

share|improve this answer
So, it sounds like this is effectively a 'no' then. Sounds like I'm stuck with cut and paste into an editor, manipulate and paste back. – Peeter Joot Sep 27 '13 at 13:49
@PeeterJoot I can't find references denying explicitly the existence of such feature. But you know, those things are hard to find – Dr. belisarius Sep 27 '13 at 13:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.