怎样用C#代码把网页中的{readonline}和{subtag:name}替换掉
<div style="text-align: center; width: 100%; background-color: #fff;">
<div class="info">{readonline}This email contains graphics, so if you don't see them,view it in your browser</div>
<table align="center" style="text-align: justify; margin: auto; background-color: #ebebeb; border: 1px solid #e7e7e7;" cellspacing="0" cellpadding="0" bgcolor="#ebebeb" width="600">
<tbody>
<tr>
<td height="38px"></td>
</tr>
<tr>
<td style="text-align: center;" width="600">
<table style="margin: auto;" cellspacing="0" cellpadding="0" border="0" width="520">
<tbody>
<tr>
<td style="padding: 20px 0px; text-align: left;">
<h3>Topic of your message</h3>
<h4>Subtitle for your message</h4>
</td>
</tr>
<tr>
<td style="background-color: #fff; border: 1px solid #dbdbdb; padding: 20px; width: 500px; margin: auto; margin-top: 15px; margin-bottom: 15px; text-align: left;">
<h1>Dear {subtag:name},</h1>
Your message here...</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="40px"></td>
</tr>
</tbody>
</table>
</div>
怎样把中间的{readonline}和{subtag:name}替换掉
------解决方案--------------------
string.Replace
Regex.Replace都可以
------解决方案--------------------string htmlstr = ......;
htmlstr = htmlstr.Replace("{readonline}", "").Replace("{subtag:name}", "");