Code: Select all
String =
(
Lorem. ipsum dolor. sit
amet, consectetur.
adipiscing elit, sed. do
eiusmod.
)
RegExMatch(String, "O)\.", dotArray)
numberOfDots := dotArray.Count()
msgbox % numberOfDots ; returns 0
Got a string with dots - check
Escaped dot as regex pattern - check
Array with mode 3 to return .count - check
Can anyone point out what's wrong?