while (Regex.IsMatch(htmltags, "<Emphasis type=\"([a-z]+)\">",
RegexOptions.IgnoreCase))
{
htmltags = Regex.Replace(htmltags, "<Emphasis
type=\"([a-z]+)\">(([^<]|<(?!Emphasis))+?)</Emphasis>", "<$1>$2</$1>",
RegexOptions.IgnoreCase);
}
hi is there any possible way to take the attribute value
in a variable.ie I want to read the value of the type attribute in a variable.
is this possible using regex.Can any one give me an example for this
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1013
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21