[ create a new paste ] login | about

Link: http://codepad.org/apbnJNRe    [ raw code | output | fork ]

PHP, pasted on Sep 15:
1
2
3
4
5
<?php

$text = 'happy purple kitten said pplease';

echo preg_replace('/pp+/', 'p', $text);


Output:
1
hapy purple kitten said please


Create a new paste based on this one


Comments: