Can anyone help me, please?
Instead of formatting the input field you can verify the validity of the input when it changes or before using it in your workflow.
You can use a regular exopression, have a look here for some.
From that page you have:
^[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)$
for urls without protocol (the http:s//
part), and
^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$
for urls with protocol.
Your workflow can use the “extract with regex” operation. If the url is valid the resulting list will have the count of 1.
3 Likes
Thank you
1 Like
Happy to help
Cheers
Mariano
This topic was automatically closed after 70 days. New replies are no longer allowed.