Try:
public static Regex regex = new Regex(
@"\<input[^\>]*",
RegexOptions.IgnoreCase
| RegexOptions.CultureInvariant
| RegexOptions.IgnorePatternWhitespace
| RegexOptions.Compiled
);
public static string regexReplace =
"$& /";
string result = regex.Replace(InputText,regexReplace);
Get a copy of
Expresso [
^] - it's free, and it examines and generates Regular expressions. It generated the code above...