PHP remove everything after the last instance of a string

5 replies
I did the first instance with preg_replace, tried to loop it with while but it timed out even with a break escape.

Any ideas?

Rick
#instance #php #remove #string
Avatar of Unregistered
Avatar of Unregistered

Trending Topics