I want to Find: <tr><td>([^<]*)<
Replace: <tr><td><a href="\1">\1</a>< But in the FIRST instance of \1 (the one in the HREF) I want to replace any and all spaces in \1 with dashes. I can do it as a multiple step process by first doing the above search and replace and then searching for Find href="([^"]*) ([^"]*)" Replace: href="\1-\2" until there are no more replacements, but doing it in one step would be better. If I were doing it on the command line I'd just use awk, but not sure how to do this in BBedit. Maybe I need a text-factory? -- Apple broke AppleScripting signatures in Mail.app, so no random signatures. -- This is the BBEdit Talk public discussion group. 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> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
