I'm trying to bring Word documents with footnote reference markers into BBEdit in plain text for further editing. I can surround the special footnote reference markers in Word with strings. I used to have a macro in Word which could grab that reference marker and turn it into text so that it would paste into BBEdit. But that macro has broken.
Now, in BBEdit, I just have the markers without the actual reference number: BEGINREF ENDREF What I would like to do is search using a non-capturing look ahead assertion for the ENDREF (?=ENDREF) and prefix it with the number of matches. It would look like: BEGINREF 1ENDREF BEGINREF 2ENDREF BEGINREF 3ENDREF ... Is there a way of doing that? In UNIX there's a count option flag, but I can't think of how to use that here. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://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 view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/c83d3728-69c5-4215-bd1b-ddf93a04ae21n%40googlegroups.com.
