Check out the following link from the code project.
http://www.codeproject.com/managedcpp/xpregex.asp
It provides C++ external functions for SQL Server 2000 that I assume is
usable from 2005 as well. Unlike some onelse who said that LIKE is
faster it is not, this flies!