Assuming my sentences contain unknown number of square bracketed strings, like:
1. This is [dog], that is [monkey] and i have also a [goose]..
2. [one] is good but i want to have [two hundred] cars
How can I fetch only square bracketed strings using VBA code? For example:
for the first sentence i want it to return: [dog] [monkey] [goose]
for the 2nd sentence i want it to return: [one] [two hundred]
I am on MAC, so Regex is not an option unfortunately. Thank you!
1. This is [dog], that is [monkey] and i have also a [goose]..
2. [one] is good but i want to have [two hundred] cars
How can I fetch only square bracketed strings using VBA code? For example:
for the first sentence i want it to return: [dog] [monkey] [goose]
for the 2nd sentence i want it to return: [one] [two hundred]
I am on MAC, so Regex is not an option unfortunately. Thank you!