<?phpecho preg_replace('/S(\d+)E(\d+)/i', '$1x$2', 'S05E14'). "\n"; ?>
Standard input is empty
05x14
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!