Code: Select all
$keys = StringRegExp("gun15 ay4 yil2021", "gun(\d+) ay(\d+) yil(\d+)", $STR_REGEXPARRAYMATCH)
;$keys[0] = 15
;$keys[1] = 4
;$keys[2] = 2021
I looked at RegExMatch () function but couldn't do it correctly
Code: Select all
RegExMatch("O)abcXYZ123", "abc(.*)123", SubPat)
msgbox, % SubPat.Value(1)
; i want SubPat.Value(1) = 1