Patrick, et all,

I am a new member and Patrick asked me to post my questions here for
the benefit of all.

I am working with BBedit and automator to script some html changes to
a list of filenames.

I now have the opportunity to use my actual in-house filenames for the
script... example 100050-D  vrs the arbitrary text 01-06-2009-
stock_photo. This is made possible through A Better Finder Renamer,
which can rename (macOS) finder items from a list found in a text
file.

However, this now poses a problem with non repeating characters to
search and replace on. They also vary in the number of characters in
the filename, can this work?

Is there a grep script that will take the following

100050-D.htm

or any of the following...
00005.htm
61305-M.htm
50161-L.htm

and turn it into this...

<li><a href="http://widstock.com/static/100050-D.htm";>100050-D.htm</
li>

The above examples are all of my filename styles. I can see now why a
standard length and structure would have been smart at the onset.

Thanks for any help here.

Russ


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to