Q:
[#pU#]
In addition, can we replace a word with the new replacer if it is not in []?
The relevant documentation is:
ContentReplacer.SetMatchStrings(string start_str, string end_str)
Change the delimiters from '[' and ']' to arbitary strings.
@param start_str - The starting delimiter string.
@param end_str - The ending delimiter string.
@note
While empty strings are allowed as delimiters, a warning is displayed.
Otherwise there are no restrictions. For example, after SetMatchStrings("<<", ">>"),
AddString("TITLE", "Doctor") will replace any text
consisting of "<<TITLE>>" with
"Doctor". Similarly, after
SetMatchStrings("Beginning...", "...ending."),
AddString("TITLE", "Doctor") will
replace "Beginning...TITLE...ending."
with "Doctor".
--------