0 Replies Latest reply on May 22, 2017 8:11 AM by Kasyan Servetsky

    Tip: use regular expressions to replace code quickly in ESTK

    Kasyan Servetsky Level 5

      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

      22-05-2017 17-43-09.png

      After

      22-05-2017 17-43-26.png

      22-05-2017 17-48-33.png

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