Have an account? Sign in
"*" indicates required fields
You agree that CreativePro Network may send you emails, including the newsletter selections above. You can unsubscribe at any time.
By signing in, you agree to our Terms of Use and acknowledge our Privacy Notice.
New user? Create an account
By signing in, you agree to our Terms of Use and acknowledge our Privacy Notice.
Thank you both. That’s a part of GREP that I’m not familiar with. Can’t tell you how much this helps.
I convert files for printed books into ebooks and need a code to automatically add anchors and links to manuscripts that have hundreds and hundreds of footnotes. So far GREP has been able to do a good job, except this expression that’s intended to create an anchor (a id=”#”) based on the footnote number. It will only return the first digit of the footnote, so that footnotes 10 -19 return as “1” and 20-29 return as “2”, etc. I’m just not savvy enough to spot the error.
SEARCH EXPRESSION: (<span class=”xfootnote”>\[<a href=”#r)(\d+?)
REPLACE EXPRESSION: $1$2
I apologize in advance for being so stupid. Thanks!
This site uses cookies, but not the kind you eat. We use cookies to remember log in details, provide secure log in, improve site functionality, and deliver personalized content. By continuing to browse the site, you accept cookies.