I have in my content a few paragraphs and want to cut everything before when I find for example: This is a comment statement
I tried with str_replace()
but this is not possible with this method and with preg_replace
but on every validation my content stay untouched.
Is there any better way to do so?