On Sep 13, 2006, at 5:39 PM, Michael Heth wrote:
On Sep 13, 2006, at 3:40 PM, Bob Williams wrote:
On Sep 13, 2006, at 14:59, Michael Heth wrote:
Blueshield BSC500
Blue Shield Shieldspectrum500
what I would like to end up with is lines like
<A HREF="Blueshield_BSC500.html">Blueshield BSC500</A>
It's hard to say for sure without knowing what you mean by each
one being slightly different, but unless I'm missing a detail (or
four) of what you want done, I think something like the following
should work with the samples you gave:
Search: ^(.+) ([^ ]+)$
Replace: <A HREF="\1_\2.html">&</A>
Say Bob,
Well that worked but I didn't notice that the space was not always
changed to an underscore and now with all the links in a page I
need to go back and do this
<table cellspacing="3" cellpadding="3" align="left">
<TR><TD><A HREF="novato bluecross_insurance.html">novato bluecross
insurance</A></TD></TR>
</table>
to this,
<table cellspacing="3" cellpadding="3" align="left">
<TR><TD><A HREF="novato_bluecross_insurance.html">novato bluecross
insurance</A></TD></TR>
</table>
You could run this over and over until you get them all:
Search: (A HREF=".+) (.+html")
Replace: \1_\2
dan
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>