I would like to know the RegEx Split pattern (using C#) for a string which packed with [ and ].
For example, for the string:
This is my [word1] And this is my [word2]
I should get word1 and word2.
I would like to know the RegEx Split pattern (using C#) for a string which packed with [ and ].
For example, for the string:
This is my [word1] And this is my [word2]
I should get word1 and word2.
Use regex /\[(.*?)\]/g. Given regex is in perl, similar is in other langauges too. Worked out here: 
https://regex101.com/r/zL0yW1/1
