#14675: Regex for replacing trim()