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