keerthi
07-15-2005, 07:44 AM
i am not very good in regular expression.so can anyone help me in this.or is there any other way to solve this problem.
i need to store all the contact information of a set of dealers in a database.so for this i need to parse through the dealers website(ie only the anchor tags) and select only those alt text having the phrase "contact" --but alt text may be contact,contact info,contact us,etc..
i parsed through the website using parse_links().now i have all the anchor tags with alt text but the thing i need to store only those links having contact information.but the alt text is different in different dealer websites.
this may look silly..but i need to find it ..
if it is in database i can give a query using LIKE..
i couldnt explain the scenario properly.its pretty tough and a big story.
help me as soon as possible.
i welcome any good suggession.
keats
i need to store all the contact information of a set of dealers in a database.so for this i need to parse through the dealers website(ie only the anchor tags) and select only those alt text having the phrase "contact" --but alt text may be contact,contact info,contact us,etc..
i parsed through the website using parse_links().now i have all the anchor tags with alt text but the thing i need to store only those links having contact information.but the alt text is different in different dealer websites.
this may look silly..but i need to find it ..
if it is in database i can give a query using LIKE..
i couldnt explain the scenario properly.its pretty tough and a big story.
help me as soon as possible.
i welcome any good suggession.
keats