Click here to Skip to main content
15,895,812 members

Comments by kdaras (Top 3 by date)

kdaras 26-Jan-17 7:45am View    
in the sentence "Test some kind o text " i want to find string Test
and change the rest of sentence leaving Test string as it is.
kdaras 26-Jan-17 7:10am View    
I have try preg_replace('/(pattern)X*/', $_POST['name'], $file_contents) but
this is the opposite of what i'm asking
kdaras 26-Jan-17 7:09am View    
I have seen PHP: str_replace - Manual[^] but i didn't find an example of what i'm asking