B
Brown Smith
At run time I am building the HTML table as follows for literal control.
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here LIKE DATA 1
</span>
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here NNNN</span>
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here..</span>
...
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here5555</span>
......
In certain cases as part of business requirement I need to change the text
in between the strings as follows <span style='background-color:
#FFDD00'>Data Not Available</span> for all occurrence of starting string
"<span style='background-color: #FFDD00'>" and ending string "</span>".
How to write an efficient code for this? Instead of string manipulations I
would like to do use regular expressions for this.
Thanks for thinking to help me.
I am using .Net 1.1.
Smith
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here LIKE DATA 1
</span>
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here NNNN</span>
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here..</span>
...
HTML Table related data ...
<span style='background-color: #FFDD00'>could be any data here5555</span>
......
In certain cases as part of business requirement I need to change the text
in between the strings as follows <span style='background-color:
#FFDD00'>Data Not Available</span> for all occurrence of starting string
"<span style='background-color: #FFDD00'>" and ending string "</span>".
How to write an efficient code for this? Instead of string manipulations I
would like to do use regular expressions for this.
Thanks for thinking to help me.
I am using .Net 1.1.
Smith