<?php $basis = 'от 222.22.22 N dfdfdf'; echo preg_replace(array('/N\s*$/iu', '/от\s*$/iu'), '', $basis);
You have javascript disabled. You will not be able to edit any code.