You are viewing a single comment's thread. Return to all comments →
Javascript solution:
const lines = input.matchAll(/<a\s+href=['"]?(.*?)['"\s].*?>\s*([^<].*?)</g); for (const line of lines) { const output = `${line[1].trim()},${line[2].trim()}`; console.log(output); }
Seems like cookies are disabled on this browser, please enable them to open this website
Detect HTML links
You are viewing a single comment's thread. Return to all comments →
Javascript solution: