On Sep 15, 2011, at 8:06 AM, Webmaster wrote:

> The title tag in each HTML document contains the actual Bible reference, 
> followed by a short description. For example, "KJV.00001.html" has "Genesis 
> 1:1 - KJV ( King James Version ) Bible Verse" in the title tag.
> 
> I need a way to take just the reference part of the title tag, and make it 
> the actual file name, so that "KJV.00001.html" becomes "Genesis_1-1.html". In 
> other words, I want to drop the " - KJV ( King James Version ) Bible Verse" 
> part of the title tag when I create the actual file names.
> 
> I want the book name to be followed by an underscore, instead of a space, and 
> the colon in each verse reference will have to be replaced with a hyphen, 
> since we cannot use the colon in file names on the Macintosh.

Honestly something like that should be done with say a Python, Perl or Ruby 
script rather than from within BBEdit.  

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
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 feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to