Thanks for all your suggestions. Will need to brush up on my Perl and check it out.
Also, actually my needs are a little less complex than what is been currently discussed. My idea is to build id names for every h1-h6 in a folder of documents, and my intention was to start with the text of the head, and then munge that down to strip out all punctuation and upper ascii, then replace spaces with hyphens, and then add an "x" in front of any id entries that begin with a digit. Can anyone confirm the use and syntax of the recursive operator (?R) discussed in advanced grep topics (on p. 194 of the manual that accompanies v9.x). ------------------ On 9/24/11 at 12:21 PM -0700, Rick Gordon wrote in a message entitled "Re: Repeating a Grep Search Until It Fails": >Replace All is not doing it. I need to click Replace All many times to >complete this sort of search. I think that the (?R) recursive search >indication might help, but I can't figure out its general syntax from the >single example in the BBEdit manual. -- ___________________________________________________ RICK GORDON EMERALD VALLEY GRAPHICS AND CONSULTING ___________________________________________________ WWW: http://www.shelterpub.com -- 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>
