Re: AHK: Поиск и замена нескольких строк
someVar:=0101, pattern:="O)(1)", sArr:=["Первое", "Второе", "Третье", "Четвёртое"]
While, RegExMatch(someVar, pattern, outVar, outVar.Pos(1) ? outVar.Pos(1)+outVar.Len:1)
outList.=sArr[outVar.Pos]
MsgBox, % 262 . (outList ? 208:160)
, % outList ? "Result:":"Oops!"
, % outList ? outList:"No matches"
, % (outList ? 3:0) . .5
