// Test regex string content = "; string outhtml ="; regex regex; match mc; streamreader sr = new streamreader ("c: //a.txt", system.text.encoding.Getencoding ("GB2312") ); Content = sr.readToend (); content = content.replace ("/", "'"; // Start with the regular expression to take a picture file name