Global change into footnotes?

Hi, I am new to Scrivener and have imported a big project into it. This document in the final form will include numerous footnotes. In the first draft I have simply been including footnotes in [square brackets] to be changed later into proper format.

My question is: is it possible to globally change all text withing square brackets into footnotes? It would save me a load of time if it is!

Thanks.

I would actually recommend fixing the file using search and replace before importing it. Since you’ve already used brackets, it will be easy for you to search and replace the brackets with what Scrivener will recognise as footnote code.

Using your preferred text editor, search and replace so that your footnotes are surrounded by the following code, instead of brackets:

{\Scrv_fn= \end_Scrv_fn}

So if you have a line like this:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.] Duis aute irure dolor in reprehenderit…

It should end up looking like this:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{\Scrv_fn=Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\end_Scrv_fn} Duis aute irure dolor in reprehenderit…

Now just drop that into your project binder and you should see live footnotes.

Thanks a bunch, that worked a charm. :slight_smile: