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
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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com 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 "support@barebones.com" rather than posting to the group. -~----------~----~----~----~------~----~------~--~-
Jan 13
Ronald J Kimball Re: Grep scripting
Jan 13, 2009; 17:52
Ronald J Kimball
Re: Grep scripting
Jan 13
Patrick James Re: Grep scripting
Jan 13, 2009; 17:54
Patrick James
Re: Grep scripting
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!