MySQL & Regexps
MySQL is amazing. You can do queries with a regular expression as the where clause. That's incredibly powerful! Something like:
SELECT EntryText FROM WebDatabase WHERE ExtryText REGEXP "^[Tt]his";
Would get all the entries that started with "this."