* Search & replace paragraph marks
- Robert Jacobs
- Famous
- Posts: 111
- Joined: 21 Mar 2015 18:03
- Family Historian: V7
- Location: Ellensburg, Washington, U.S.A.
- Contact:
Search & replace paragraph marks
I wish to search and replace text in the notes field, including the paragraph or end-of-line marker at the end of the text. How does one indicate the paragraph marker in the search field?
- tatewise
- Megastar
- Posts: 27085
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Search & replace paragraph marks
Press the Enter or Return key and if Show White Space is enabled a ¶ pilcrow is shown.
As it says in the Help & Advice page for the Major Options tab:
https://pluginstore.family-historian.co ... ptions-tab
In that case, you must use the Lua Pattern Mode and enter the $ end of text anchor magic character.
If not sure whether an explicit newline character exists or not then use:
¶?$ which matches an optional newline character anchored to the end of the text.
As it says in the Help & Advice page for the Major Options tab:
https://pluginstore.family-historian.co ... ptions-tab
However, there may not be an explicit newline character at the end of the Note text.If Search is empty, only empty fields are matched. If Replace is empty, any matching Search text is deleted.
Both boxes support all characters including tab & newline.
In that case, you must use the Lua Pattern Mode and enter the $ end of text anchor magic character.
If not sure whether an explicit newline character exists or not then use:
¶?$ which matches an optional newline character anchored to the end of the text.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Robert Jacobs
- Famous
- Posts: 111
- Joined: 21 Mar 2015 18:03
- Family Historian: V7
- Location: Ellensburg, Washington, U.S.A.
- Contact:
Re: Search & replace paragraph marks
Thank you, Mike. That did it.
Robert
Robert