in reply to replace multiplication symbol (×)

Perhaps having the pragma:
use utf8;
might be sufficient for the multiplication symbol to be correctly recognized within the regex of your code.

But you might still have trouble with the encoding of your input, on which you say nothing.