Yes, It is not working. Because, I am not good at this kind of late binding RegEx codings.
wd := ComObjCreate( "Word.Application" ) wd.Visible := 1, wd.Activate wd.Documents.Add wd.ActiveDocument.Content.InsertAfter( "I like Grapes" ) RX := wd.CreateObject( "VBScript.RegExp" ) RX.Pattern := "[Apple|Banana|Grape]" MsgBox % RX.test( ActiveDocument.Content ) ? "OK" : "Nop"Actually, I want to use VBA code like this;
Set RX = New regEXP ; Early bindings
But, It is... way difficult for me to port into AHK. I have no clue how to handle VBA "Set" sentence in AHK.
Can anybody have any hints or someting ??
Above tries are useing Microsoft VBScript Regular Expressions 5.5.
Is there any way to solve VBA reg ex problems with different way(s) ?
Thanks..