More regex examples
This works well once I figured out how to do a Regex to remove a specific annoying phrase that Amazon inserts at the beginning of every page Title. I don't like that because it messes up the default name of my bookmarks.
Here's the regex I used: /AmazonSmile: (.{1,45}).*/$1/
This removes the literal phrase "AmazonSmile: " from the beginning of any page title on smile.amazon.com. It removes the first phrase and then inserts the rest of the title but only up to 45 characters in length. If the original title is longer, it truncates the rest. I found a Regex testing site that helped me figure this out. https://regex101.com/r/vMzP9d/6
My suggestion is to add this to your list of Regex examples in the add-on as there is currently no example that clearly showed how to either delete a first part of a Title or truncate the length of a Title. As a regex newbie it took me a little while to figure out, so it might help someone else.
I see thanks for the suggestion! I will consider adding more comprehensive examples in v2
Here's a fairly tricky but useful recipe to remove leading "The ", "An " or "A ":
URL: *.*
Filter: /(^The\s|^An\s|^A\s|^)(.*)$/$2 /gi
Note the use of U+3000 IDEOGRAPHIC SPACE following the $2 substitution prevents a loop bug that can stall the browser.