/Invalid value\. Expected: \d+, instead got: \d+\./
/(\w+)\.exe/i
(?i)(\w+)\.exe
re.sub(r"vasya", "", "Vasya foo vasya bar VASYA", 0, re.IGNORECASE)
https://ideone.com/cHZ8gO <?php
$str = 'imja|ЕКАТЕРИНА||telefon|+37533000000000||kategorija|Маникюр, педикюр';
preg_match_all('/([а-яё, ]+)/ui', $str, $matches);
print_r($matches);
https://ideone.com/8SgRH9