Test, validate and match regular expressions
Matches HTML anchor tags with HTTPS href attributes and captures the final path segment between the last two forward slashes before the closing quote. The second capture group isolates that segment (e.g., a slug or ID), enabling it to be reused to form a new URL. Commonly used in bulk find-and-replace operations in editors like VS Code or Sublime Text for URL rewriting tasks.