URL网址提取器

使用此工具可从文本、文档或 HTML 中提取或抓取 URL。它将提取几乎所有可能的网址模式。

文本内容


什么是有效的网址?


典型的 URL(统一资源定位器)必须以方案开头,该方案指示相应的协议。以下示例显示了有效的 URL 格式。HTTPHTTPS


  • https://example.com/page.html
  • http://example.com
  • https://www.example.com/

排序


打开“排序”选项将自动按字母顺序对URL进行排序。


分隔符


选择您选择的 URL 分隔符:换行符、逗号、空格或逗号加空格。默认情况下,URL 由新行分隔。

'),childWindow.document.write(document.getElementById("input_output").value.replace(/\n/gi,"
")),childWindow.document.write(""),childWindow.print(),childWindow.document.close(),childWindow.close()}1==examples&&area.val(`Welcome to

Text Tools

. Example Google's home page is https://www.google.com and Facebook homepage is https://facebook.com Youtube's shortened url https://youtu.be/abc123`),$("#extractURL").click(function(){Remember();var e=area.val(),t=$("#urlSeparator").val();if(null===(e=extractEmails(e)))return area.val(""),void Remember();1==$("#isSort").prop("checked")&&(e=e.sort()),e="comma"==t?e.join(","):"space"==t?e.join(" "):"comma+space"==t?e.join(", "):e.join("\n"),area.val(e),Remember()}),$(".clipboard").click(function(){Clipboard(area)}),$("#clearAll, #edit_delete, #file_new").click(function(){area.val(""),Remember()}),$("#file_upload").on("change",function(){loadText()}),$("#file_download").click(function(){saveText()}),$("#file_print").click(function(){printTextArea()}),$("#edit_undo").click(function(){var e=History.undo();void 0!==e&&area.val(e)}),$("#edit_redo").click(function(){var e=History.redo();void 0!==e&&area.val(e)}),$("#edit_copy").click(function(){Clipboard(area)}),$("#edit_select").click(function(){area.select().focus()});var History=function(){var t=[],o=0;return{remember:function(e){t[o-1]!==e&&(t.splice(o,10),t.push(e),t.splice(0,t.length-10),o=t.length)},undo:function(){if(1