PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The dark art of regular expressions could be your friend. http://php.net/pcre describes native PHP solutions. There are also plenty of tutorials that help with creating an appropriate regexp to extract data from strings.