Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL query avoiding HTML tags

Status
Not open for further replies.

neofactor

Technical User
Jul 30, 2000
194
US
Hi!

Well.. I have site content for pages in a MS databse.
I added a search page that queries this content using LIKE to find pages that have that content.

The problem and challege is... the SQL DB holds the HTML info and when you search it .. you are likely to find results for pages that have you keyword in the tags.

How do I do a regular expression against SQL to look up keywords outside of certain (most) tags.

Any ideas?

I know about this code:

But that is not for a SQL query...

Can it even be done?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top