My requirement is add a style sheet in to web page insted of existing styles. to do that, I need to remove all the existing styles. It is difficult. Then I found a tool notepad++ to remove existing styles. There are many types of styles. Some styles are multiline
<td style="border-top-width: thin; border-left-width: thin; border-left-color: gray;
border-bottom-width: thin; border-bottom-color: gray; width: 115px; border-top-color: gray;
height: 26px; background-color: whitesmoke; border-right-width: thin; border-right-color: gray">
and some are in single line. I foundout this this can be achieve useng regular expression because if it can track style=" something " that can be remove.
So I need a regular expression to match (without case sensitive)
style="<any character> "
but as i explained earlier this may be multiline.
can anybody help me giving regular expression?
View Complete Post