
on code that's fine on the same JS engine in Chrome:

An ideas?
I believe BRU uses an older version of JS...
Did you try the function
regEx("text", "match", "replace")
Applies a regular expression replacement on the given text.
Admin wrote:Yes, it should be \\s (escaped to match a space zero or more characters). I have logged this to be fixed.