如何用正则表达式分解此字符串?

我想将如下字符串:str = "
[01]
aaabbb
cccddd
[02]
eeefff
[03]
[04]
"

分解成:

string s[] = {"01", "aaabbb\ncccddd", "02", "eeefff", "03", "", "04", ""};
的格式。

我用
string s[] = Regex.Split(str, "\[(.*)\]");

分解后变为:

string s[] = {"", "01", "", "aaabbb\ncccddd", "", "02", "", "eeefff", "", "03", "", "", , "04", ""};

大家有什么办法可以解决,谢谢。

[451 byte] By [cn0574] at [2007-12-16]
# 1
另外我还想判断[01]是不是在单独的行。
cn0574 at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...
# 2
Regex.Split("\\w+")
# 3
不会是这样吧!
cn0574 at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...
# 4
try

String str = "\n[01]\naaabbb\ncccddd\n[02]\neeefff\n[03]\n[04]\n";
str = Regex.Replace(str,@"^\s*\[","");
string[] s = Regex.Split(str, @"\s*[\[\]]\s*");
saucer-思归 at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...
# 5
我用Regex的时候,怎么会报错!
说缺少uing引用,请问我还应该引用那个?谢谢
smile_wu-SW at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...
# 6
报错:
是否缺少using指令或程序集引用?
是不是不能直接用Regex啊?如何处理?
smile_wu-SW at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...
# 7
using System.Text.RegularExpressions;
saucer-思归 at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...
# 8

正则表达式的help

ms-help://MS.VSCC/MS.MSDNVS.2052/cpguide/html/cpconregularexpressionexamples.htm
lionzhf-忆昔 at 2007-10-22 > top of Msdn China Tech,.NET技术,C#...