Capturing a string in a specific format
Could you possibly provide more samples of your data? In any case, try this 

Regex regex = new Regex(@"^[*]\d+[*]$");


If you actually expect the brackets (e.g. []) using the following:

Regex regex = new Regex(@"^[*][\[]\d+[]][*]$");