why there is a endless loop for .remove() ?

why there is a endless loop for .remove() ?

hi

try remove "On User Input" some characters
all works well but interface views that there is a endless loop of operations

code "On User Input"

mob1 = input.mobile3.remove(")");
mob2 = mob1.remove("(");
mob3 = mob2.remove(" ");
mob4 = mob3.remove("+");
mob5 = mob4.remove("-");
input.mobile3 = mob5;