用正则匹配替换模板的问题.
--------------------编程问答-------------------- {#(.*?)#} --------------------编程问答-------------------- 用非贪婪模式来匹配{#(.*?)#} --------------------编程问答--------------------
正则对我来说,一头雾水! --------------------编程问答-------------------- string str = @"{#([^#]*)#}";
MatchCollection maths = Regex.Matches(mobandata, str);
foreach(Match match in maths)
{
....
}
--------------------编程问答-------------------- 好的.谢谢..忘了这个.
补充:.NET技术 , ASP.NET