<?php $string = preg_quote("د"); echo preg_replace("#(?:^[^\pL]*)|(?:[^\pL]*$)#u",'',$string);
You have javascript disabled. You will not be able to edit any code.