I'm stuck on a pretty simple PHP problem. Basically, I want to know how to grab a string at a certain point in the page source code. (where the e-mail is). It is a SMF (forum), soI've got something like this: I need to first be able to cut it from the above down to this: I already know how to do this part by using the strstr command (finding everything after mailto:. Now I would like to know how to delete everything after the 'M', but I just can't find the command that would work. If anyone could answer or lead me in the right direction, thanks ahead of time.