Hey Everyone,
Iam new to ODK and i am making my first xls form and i am stuck.I want to add regex for the website in my xls form that should allow the user to write http,https.co.in,.tv,.in. Right now i am using the regex: regex(.,'[a-zA-Z0-9]+.[a-zA-Z]+(.?[a-zA-Z0-9#]+/?)'), but it is allowing only.com but not .co.in etc. Please help.
I always use https://regex101.com/ when I am building regular expressions. You can put all your test cases in the field below and then see what matches and what doesn't. (Be sure to include some counter-examples in your test cases.)
"http" is a protocol. ".tv" and ".in" is - I suspect - intended to be a top-level domain name. And "https.co.in" rather falls into the bucket of 'something else entirely'...
I think you need to explain what exactly it is that you are trying to match against.