jag prövade med \'(.*)$ och det fungerade finfint, men bara på den första raden den hittade. När jag försökte loopa igenom texten som skulle kontrolleras med följande kod:
Kod:
intMatches = 1
Do Until intMatches = 0
.Pattern = "'(.*)?"
Set intMatch = .Execute(strNewText)
strNewText = .Replace(strNewText,"<span class=""classGray"">'$1</span>")
intMatches = intMatch.Count
Loop
Set intMatch = Nothing
så fick jag detta felmeddelande:
Citat:
ctive Server Pages error 'ASP 0113'
Script timed out
/code/Index.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
|