Hi there.
I don’t understand how to store (in a listbox or an array) the results from a regular expression.
My regex have to give me more than one result and not only one.
Anyone have a suggestion?
Many thanks
Hi there.
I don’t understand how to store (in a listbox or an array) the results from a regular expression.
My regex have to give me more than one result and not only one.
Anyone have a suggestion?
Many thanks
If you’re expecting multiple matches, you have to search multiple times.
dim match as RegExMatch = rx.Search( myText )
while match isa RegExMatch
// Do something with the match
match = rx. Search
wend