.* 是匹配0个以上的字符
/\[td(.*)\](.+)\[\/td\]/
可匹配 [td xxxx]xxx[/td]
也可匹配 [td]xxx[/td]\\1、\\2.... 是指被()括起的部分,其中数字表示()出现的顺序