I'm trying to match any combination of float numbers with a regular expression in VBA inside of Microsoft Word.
Example:
<text="">
<text="1">
<text="2">
<text="3">
<text="3.5">
<text="4">
<text="44">
I've tried the following patterns:
regex.Pattern = "<text=" & Chr(34) & "\d*\.*\d*" & Chr(34) & ">"
regex.Pattern = "<text=" & Chr(34) & "[\d\.]*" & Chr(34) & ">"
What's interesting is neither of these patterns will match the 44 either.