Instead of a replacement string you can provide a function performing dynamic replacements based on the match string like this:.
確定! 回上一頁