MYSQL: IF having OR condition & REGEXP match
问题 Goal : To block inserts into database table using trigger having multiple conditions Description : Trying to block lots of irrelevant entries in contact table. I have created a profanity table having lot of bad/swear/dirty words and a regular expression filtering URL. If any entry comes to DB having these bad words or URL then it should not be inserted. Analysis : Searched many different solution over SO and could be duplicate but didn't found any answer having multiple condition and regexp