Description Usage Arguments Details
This function searches a NovNet .txt file for a correctly formatted regular expression and substitutes a replacement.
1 | autoReplace(filename, pattern, replacemt = "", local = TRUE)
|
filename |
File name as character string, i.e. "Crusoe". |
pattern |
Regular expression of text to be replaced. |
replacemt |
Regular expression replacement. Accepts all correctly formatted regular expressions. |
local |
Default = TRUE. If FALSE, searches for file in google drive. If TRUE, seeks file in folder filename/. |
It is useful for deleting page numbers, formatting chapter headings, cleaning embedded notes, and so on.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.