<?php $mouss = ['/\d+/u', '/[а-яА-ЯёЁ]+/u']; $moui = ['<XXX>','<буквы>']; $s = "22 декабря"; print_r(preg_replace($mouss, $moui, $s));
You have javascript disabled. You will not be able to edit any code.