Hiya guys.

I have some code which i am using to grab details about a clan i am in, however, i am having problems with the following regular expression.

Code:
$regexp = '('.preg_quote($clan).')[ ]*(.*)';
Basically that should match the clan tag at the start and anything after it.. However, it doesnt seem to be matching all which comes after it. ie. if the person doesnt have a space after their name it will not work, and if there are other asci characters after there clan tag it also will not work.

I need to change this so that it will match everything and anything after the $clan variable.. But no matter what i try it refuses to work.

If anyone can show me what i need i would be very grateful.

Cheers
Jon