I am creating HTML files from text files (HTML bible). I would like to enclose ALL numbers 0-9
, with definition list tags <DT>
& <DD>
, so that the following:
1 In the beginning...(example)..
2 And God said...(example)..
15 Adam was....(example)..
26 Cain was...(example)..
38 Enoch was...(example)..
would look like:
<DT>1<DD> In the beginning...(example)..
<DT>2<DD> And God said...(example)..
<DT>15<DD> Adam was....(example)..
<DT>26<DD> Cain was...(example)..
<DT>38<DD> Enoch was...(example)..
Being that this is the bible, I have HUNDREDS of THOUSANDS of numbers (verses) to place in tags, so I really need this shortcut. I'm, using EditPlus and know nothing about these other "scripts" you guys use. (sorry- Im a nube...), So I need a RegEx (or Find/Replace: something easy: "Ctrl+H".)
I can 'open' and 'close' the DL /DL lists by hand after I get all the verse numbers between & tags.
(I wish I was as smart as you guys! :)