-
Check if a JavaScript string is a URL
Is there a way in JavaScript to check if a string is a URL? RegExes are excluded because the URL is most likely written like stackoverflow; that is to say that it might not have a .com, www or http. -
-
web.dev
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. -
-
-
-
-
-
-
-
-
-
-
-