Well I've been reading, and reading and to be frank I'm having a terrible time with expressions. Theres just so much, I can't find what I need.
Heres what I am doing. I have many entries using the setup:
name - number
Seems simple, but it's driving me simple. Before I was splitting it using $title = preg_split('/ /', $title['0'], '-1');
but then I needed a name with a space in it! :eek: Doing as it was supposed to, it split the first space and now I get half a name when I'm all done.
What I need is to chop off the ' - number' part, so it leaves me with the name! Please, lead me in the right direction.