For input string: "3940?top=25"