Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

URL Regex Field suggestion is wrong



Gepostet 24. Juni 2022

Hi Zendesk Team,

I created regex fields and you propose some examples:

When we click on "URL Validation" here is what is populated:

^(http|https)://[a-z0-9]+([-.]{1}[a-z0-9]+).[a-z]{2,5}(([0-9]{1,5})?/.)?$

 

But it is wrong and doesn't work, the correct regex is this:

^(http|https):\/\/[a-z0-9]+([-.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$

 

And thats the one you show in your documentation here:

https://support.zendesk.com/hc/en-us/articles/4408838961562-About-custom-field-types

 

Best regards,

Raphaël

 

 


2

1

1 Kommentar

Thank you for sharing this! We too had an issue and your validation worked.

0


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post