<?php var_dump(preg_match('~{UTF8}\d{4,8}\sруб\b~u', '50000 рублей', $rg), $rg);
You have javascript disabled. You will not be able to edit any code.