How to Use RegEx to Extract URL and Link Text from HTML Anchor Code?

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:

  1. 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.
  2. The RegEx solution works for everything.
  3. The RegEx solution is simpler to me.
  4. I currently don't have a JavaScript environment setup to code, test, and debug JS.
  5. Re-learning Javascript
  6. It's been years since I last coded JS
  7. And that was in Windows and IE
  8. 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.