Check yourself before you speak. This was an appropriate question for VB.
Your response shows your experience! String searches using regular
expressions/pattern matching are often performed outside of SQL. VB supplies
the same keyword/function "Like" for just such occasions. Have a good one!
Note that there are Excel newsgroups, and a
microsoft.public.access.modulesdaovba newsgroup specifically for VBA
questions; if you're using Excel, you might want to look in one of
these groups rather than in the Access Forms newsgroup!