Fix isNumberMatchingDesc method for Windows and other OS where PHP_EOL != "\n"

Used preg_replace instead of str_replace, search and replace any vertical whitespace character