
13 Jun
2006
13 Jun
'06
9:10 a.m.
important in HTML since it's just whitespace. For this reason, instead of matching a line-break, I match whitespace. This also handles indentations correctly. Therefore, I'd use the pattern:
"</tr>\s*</table>\s*</td>\s*</tr>\s*</table>\s*</td>\s*</tr>\s*</table>"
Right but those \'s need to be doubled up to be used in a C++ string: remember the compiler swallows up the first \ so use "</tr>\\s*</table>\\s*</td>\\s*</tr>\\s*</table>\\s*</td>\\s*</tr>\\s*</table>" John.