Hola
Algo como esto
Código asp:
Ver originalFunction tufuncion(str)
Dim objRegExp
Dim objRegExp
Set objRegExp = new RegExp
With objRegExp
.Pattern = "(tuexpresion)"
.IgnoreCase = True
.Global = True
End With
If (objRegExp.Test(str) = True) Then
......
Else
.....
End If
Set objRegExp = Nothing
End Function
Suerte