Remove div from table cell
\<th class=\”row\” scope=\”row\”\>\<div align=\”center\”\>(.+?)\<\/div\>\<\/th\>
<th class=”row” scope=”row”>$1</th>
Replace contents of H1
\<h1\>(.+?)\<\/h1\>
<h1>new text</h1>
Find H1 with break
<h1>[^]*</h1>
Replace H1 with H2
\<h1\>(.+?)\<\/h1\>
<h2>$1</h2>
\<th colspan=”3″ id=”(.+?)” headers=”(.+?)”>\<div align=\”left\”\>\<strong\>(.+?)\<\/strong\>\<\/div\>\<\/th\>
<th colspan=”3″ id=”$1″ headers=”$2″ align=”left”>$3</th>
\<td (.+?)>\<h4 align=\”center\”\>(.+?)\<\/h4\>\<\/td\>
<td $1 align=”center”>$2</td>
Finds tables
<table [^>]*>[^]*</table>
Copy name to ID
<input name=”(.+?)”
<input name=”$1″ id=”$1″
<tr(.+?)>
<td>(.+?)</td>
<tr$1>
<th scope=”row” class=”row”>$2</th>
<!DOCTYPE [^>]*>
[^]*
<div class=”content”><a name=”content”></a>
([^]*)
<p align=”center” class=”small”>[^]*
#(.+?)\.(.+?)#
Remove td/tr/th width
<t(.+?) width=\”(.+?)\”>
<t$1>
Notepad++
<a href=”(.*)”>(.*)</a>
Empty A tags:
<a name=”([^"]*)” id=”([^"]*)”></a>
Move anchor text outside tag
<a name=”(.+?)” id=”(.+?)”>(.+?)</a>
<a name=”$1″ id=”$2″></a>$3
Originally published at The Scotto Grotto. You can comment here or there.