scottobear: (Default)
[personal profile] scottobear

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.

Profile

scottobear: (Default)
scott von berg

April 2017

S M T W T F S
       1
2 345678
9 10 11 12 13 14 15
16 1718 19 20 21 22
23 2425 26 2728 29
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 26th, 2026 08:07 am
Powered by Dreamwidth Studios