I like replace a Regex (text) by a image, is possible?
private void FindAndReplace(string s, string physicalPath)
{
string img = string.Empty;
Regex reg = new Regex(s);
TextSelection regExText = document.FindPattern(reg);
if (regExText != null)
{
if (regExText.Count != 0)
{
IeCapt ie = new IeCapt();
img = ChooseImage(s, physicalPath);
}
}
}