I have about 100 lines that look like the below:
assertEquals(results.get(0).getID(),1);
They all start with assertEquals and contain two arguments. Im looking f
search for
assertEquals\((.*),\s*(.*)\);
and replace with
assertEquals(\2, \1);
Sorry for the more or less superflous answer. But it does work better for me and I think for others as well. My edit of the first post was rejected.