obsidian-find-and-replace-in-selection
obsidian-find-and-replace-in-selection copied to clipboard
RegExp Help
Good day,
Question with a RegExp for your plugin.
Currently I'm using location:.*
to remove some information pulled in by the Kindle Highlights plugin but I'm trying to remove a Hyphen and cannot seem to do.
I have -
listed in the text to find but it doesn't appear to work so I'm curious as to how I could add the hyphen into the RegExp I have so it will remove it. It's located right before the location:
Here is a sample of the text for clarity, I bold and italicized the section I'm trying to remove - that hyphen is the problem currently.
Because all these ‘medicinal products’ can only be used for the external signs, the manifestations, the symptoms of the disease. — location: 1172 ^ref-17002