This might work - if you place $ at the pattern to be replaced it will only replace it when it is the whole string in the variable:
確定! 回上一頁