I'm trying to check a custom field for a URL string (any URL). I think I have the regex correct, but I haven't been able to get the syntax right.
RegEx = ^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$
Anyone have a snippet that does something similar?