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