Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
I've got a rather strange question. I'm trying to build a variant of an anti-spam database, and what I'd like to do with it is to store regular expressions (e.g. V?agra for Viagra) and be able to query the database via the regular expression.
e.g. "Select Count (Pattern_ID) as Match_Count from Spam_Patterns where Pattern Like '%Viagra%'" would generate the V?agra as a match.
Is there any way to do it this way, or do I have to do it the other way around (i.e. use regular expressions in my query?)
Thanks.
|