Hi,

I've a problem.
In a mysql-db I've a table where some html-content is stored.

Now, I want to provide a search function that searches in these fields.

But how can I tell mysql (using a regEx-pattern) to except tags in the
search.

I think of doing something like this
select 
        tbl_name.fld_name as test
where 
        replace(tbl_name.fld_name, '<[^>]*>', '') like '%#mySearchString#%'

but the mysql-replace-function does not accept regular expressions..
hmm, has anybody an idea?

-- 
Sebastian Mork <[EMAIL PROTECTED]>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206771
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to