LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Parse HTML using PHP (https://www.linuxquestions.org/questions/programming-9/parse-html-using-php-380765/)

jilljack 11-07-2005 09:08 AM

Parse HTML using PHP
 
Hi..

Can anyone help me to write a regular expression to avoid all HTML tags except "<a>" tag while parsing the HTML code using PHP?

Thanks

keefaz 11-07-2005 09:46 AM

You have some good examples at :
http://www.php.net/manual/en/function.preg-replace.php


All times are GMT -5. The time now is 10:56 AM.