Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo preg_replace_callback("/(\w+\.\w+)\s+(.+)/i",create_function('$matches','$out =array_intersect( preg_split("/[^A-Za-z]+/", $matches[2]), array("arabic", "social") );return $matches[1]."\t".(empty($out) ? "non" : implode("\t", $out));'),file_get_contents("test.txt"));
Add Comment
Please, Sign In to add comment