I am hosting a forum running PHPBB software (written in PHP). I added a 3rd party modifiction to my forum, that allows the user to add a link to their facebook page in their profile. There is one line of code that checks the pattern of what the user enters in this text field, and displays an error if what the user enters doesn't meet the required pattern or format. I'm been frustrated trying to understand this line of code and the specific pattern it's testing for. I can't find any PHP reference page to help me intrerpret the pattern it's testing for and also help me change it to my preferred pattern. I'd like to modify the above line of code to reject any entry that doesn't begin with http://www.facebook.com/ I would greatly appreciate some help with this.