Site logo

Use regular expressions to replace code quickly in ESTK

Do you know that you can quickly and easily replace code using regular expressions? I knew about the feature for years, but couldn't make it work for me for some reason. Now I tried it and am astonished how productive it is. What a fool I was I didn't use it before! It would save me a lot of hours of manual editing!

Here's an example I just used:

Before


After



For details check out the Using regular-expression syntax section on page 25 in the JavaScript tools guide.