<?php $test = "asdfas==адъфасдфас==asdfasd";preg_match_all("/[[:ascii:]]+/",$test,$matches);print_r($matches);
Standard input is empty
Array ( [0] => Array ( [0] => asdfas== [1] => ==asdfasd ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!