Group Abstract Group Abstract

Message Boards Message Boards

2
|
11.4K Views
|
2 Replies
|
9 Total Likes
View groups...
Share
Share this post:

Test if expression is a URL - URLQ?

Posted 9 years ago

Mathematica has a number of functions to test if expressions represent a type of object. A summary is provided in the Help section guide/TestingExpressions. Unfortunately, there does not seem to be a "URLQ" to test if an expression is a string containing an URL. I could probably come up with some sloppy heuristics to write my own, but I was wondering if there was a best practice for testing if an expression contains a URL. Please let me know if you have any suggestions.

2 Replies
Posted 9 years ago
POSTED BY: Alexey Popkov
POSTED BY: Carlo Barbieri
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard