Hi ,
kindly suggest validation for URL.
thanks in advance
Discussion posts and replies are publicly visible
You can use a regex to validate the syntax of the URL but to check fi the URL is live or not, you might have to use a service.
without regex cant we use?
What actually do you want to validate?
when the user entering any url it has to be validated. like https://.com format. Have to restrict if the user donot put url format.
please refer the below regex for validate the URL (Valid or not).
regex = “((http|https)://)(www.)?” + “[a-zA-Z0-9@:%._\\+~#?&//=]{2,256}\\.[a-z]” + “{2,6}\\b([-a-zA-Z0-9@:%._\\+~#?&//=]*)”
Regex will work like a charm but you can also use code like left(local!URL,8)="https://"