The only way I know of to do that is to add user defined CLR functions.
To begin with, here’s an MSDN Magazine article, “Regular Expressions Make Pattern Matching And Data Extraction Easier“
The code for that article, which I’ve been using for a couple of years now, is here.