Hello there,
I have been using Regex to match strings embedded in square brackets [*] as:
new Regex(@"\[(?<name>\S+)\]", RegexOptions.IgnoreCase);
I also need to match some codes that look like: [TESTTABLE: A, B, C, D]
it has got spaces, comma, colon
Can you please guide me how can I modify my above Regex to include such codes.
P.S. other codes have no spaces/special charaters but are always enclosed in [...].