using System.Text.RegularExpressions; string str = " aaajsbbbjsccc " ; string [] sArray = Regex.Split(str, " js " ,RegexOptions.IgnoreCase); foreach ( string i in sArray) Response.Write(i.ToString() + " <br> " ); 转载于:https://www.cnblogs.com/greencolor/archive/2011/05/24/2055437.html