<?php$s = "02 02 02 02 \r\n\r\n 02 02 02 02 \r\n 02 02 02 02";$s = preg_replace ("/[\r\n]+/", "\n" , $s);echo $s; ?>
Standard input is empty
02 02 02 02 02 02 02 02 02 02 02 02
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!