Translating Matlab code using Ctrl + f in Atom

Hi, I am translating code from Matlab. My text editor is Atom.

I would like to know if I can change text using find function (ctrl + f) ignoring parts of the text as follows

size(param.sval, 1);

being changed to

size(param.sval)[1];

without having to type “param.sval” so I can change it all at once.

Thank you.

size(param.sval, 1) should work in julia as well!

But to answer your question, you can use the regex support in Atom’s find-replace

1 Like