Ik gebruik in ASP ook al Regular expressions en daar heb ik mooit een probleem. Ik ben nu bezig en ik doe precies hetzelfde. Ik heb de volgende functie:
---------------------------------------------
Public Function fixQuote(strInvoer)
Dim RegularExpressionObject As New regExp
With RegularExpressionObject
.Pattern = "*******"
.IgnoreCase = True
.Global = True
End With
fixQuote = RegularExpressionObject.Replace(strInvoer, "*******")
Set RegularExpressionObject = Nothing
End Function
-------------------------------------------------
Als ik deze aanroep krijg in de fijne melding:
User-defined type is Not defined
mmm, ik dacht toch echt wel dat ik alles netjes open. Iemand die ff kan helpen, het zal wel weer een fikse blunder worden.
---------------------------------------------
Public Function fixQuote(strInvoer)
Dim RegularExpressionObject As New regExp
With RegularExpressionObject
.Pattern = "*******"
.IgnoreCase = True
.Global = True
End With
fixQuote = RegularExpressionObject.Replace(strInvoer, "*******")
Set RegularExpressionObject = Nothing
End Function
-------------------------------------------------
Als ik deze aanroep krijg in de fijne melding:
User-defined type is Not defined
mmm, ik dacht toch echt wel dat ik alles netjes open. Iemand die ff kan helpen, het zal wel weer een fikse blunder worden.