<?php $a = "a\nb\nc"; echo(preg_replace("/b.*/", 'hogera #', $a));
You have javascript disabled. You will not be able to edit any code.