Hey, I'm just wondering how I could remove all the text if it encounters a certain string inside a string :
EX: 24 Season 1 Episode 3
I would like, that if it find the text Season that it removes it and everything after so it would just leave you with :
24
Thanks
Ah sorry I forgot to say I need this in PHP.