Hi,
I have a string that looks like this:
"Hello [contact.first], Blah Blah Blah [contact.dob] blah blah blah [contact.phone] bah blah."
If I wanted to grab every occurrence of [ ] and essentially loop through each, whats the best way to do it? There will always be one [ ] but they might be different and be different order etc.
I know I can get the contents between one occurrence but not sure how to get to each one.
Many thanks.