hi, all i read some articles on the website but didn't find what i wanted because i'm a bit novice in ereg.
I spend 24h to find a solution and don't find it yet ;(
i have this :
$myvar="a..........b..........this0textherethis1..........c..........d..........e..........this0anothertextherethis1..........f..........this0athingthis1";
and 1) i want to delete all that is between this0---------this1 with a preg_replace but that replace all
after 2) i can clean $myvar just with a str_replace on this0 and this1
to have
$myvar="a..........b....................c..........d..........e....................f..........";
I test with preg_match_all but i don't want a tab in output i just want myvar
Is it possible to delete all stuff that start with this0 and end with this1 ?
Can somebody write all the regex expression for me (i'm novice)
thanks a lot.