If you want to export your Kindle book highlights without the page location and color information, you can follow these steps:
- Export the content in any format you prefer.
- Paste the content in Visual Studio Code or any other text editor that supports regular expressions.
- Use the regular expression
Highlight \(yellow\) - Location [0-9]+in the Find and Replace tool to replace Highlight (yellow) - Location 01.
- Replace all the matches with an empty string.
This will remove the unwanted details from your highlights and leave only the text you want to keep.