<?php preg_match_all('/\b\w/', "A&B Solucije", $res);echo var_dump(implode($res[0]));
Standard input is empty
string(3) "ABS"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!