Return to Snippet

Revision: 4445
at December 12, 2007 17:39 by lagrangeapex


Initial Code
Find:
(<h[1-6])(>)(.+)(</h[1-6]>)
Replace:
$1 id="$3"$2$3$4

Turns
<h4>Foobar</h4>
into
<h4 id="Foobar">Foobar</h4>

Initial URL


Initial Description
Convert headings to have id's with the content of the heading

Initial Title
Give headings IDs

Initial Tags
html

Initial Language
Regular Expression