please consider the following javascript code:
"myObject.myMethod();".replace(/\.\w+\(/g, "xxx");
it gives "myObjectxxx);" as ".myMethod(" is selected.
Now I would only select myMethod instead. In other words I want to select any word starting with . and ending with ( (excluded).
Thanks, Luca.