Sorry for the late reply, simply do.
I've changed it from \w+ because that also includes numbers and underscores, but with this new one it'll only work with A-Z, a-z, and apostrophes.Code:preg_match("#^([A-Z']+)$#i", $string, $matches)

Sorry for the late reply, simply do.
I've changed it from \w+ because that also includes numbers and underscores, but with this new one it'll only work with A-Z, a-z, and apostrophes.Code:preg_match("#^([A-Z']+)$#i", $string, $matches)
You're a legend
By the way, the overall project is here: http://www.reviewdude.co.uk/tlw/
Last edited by ReviewDude; 01-05-2009 at 08:11 AM.
The sunlight hurts my eyes...
~ Love, Patrick ~
Know your stuff about Habbo? I'm looking for high-quality article writers - PM for more!
I am Habbox's most trusted seller of VIP/Donator - over 100 months total sold without issue.
Want to hide these adverts? Register an account for free!