Rob, I get your point, and I want to really thank you for all of your help.
I know you prefer a JavaScript solution, but I chose not to go that route for these reasons:
- I needed a solution that would work with all Browsers, including FireFox, AND with any RTF app/document. JavaScript would not work with RTF documents, and AFAIK I can't use JS from KM with FF.
- The RegEx solution works for everything.
- The RegEx solution is simpler to me.
- I currently don't have a JavaScript environment setup to code, test, and debug JS.
- Re-learning Javascript
- It's been years since I last coded JS
- And that was in Windows and IE
- When I look at your JS code I don't have a clue how to use/modify, as in outputting the Page Title and URL to separate KM variables
But my biggest hurdle right now to JS is #4, especially testing and debugging.
So, I'd like to post some JS questions in this thread:
Learning & Using AppleScript & JavaScript for Automation (JXA)
Thanks again for everything.