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."



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 18.222.121.24
To prevent spam please submit by clicking the kitten: