I am trying to write an expression to limit the input of the city name (only Ukrainian letters, may contain a hyphen or apostrophe) according to the sample: “Name”, “Name Name” or “Name-Name”
But my version doesn’t work quite correctly even for a one-word city name :
@al_gc, I have not tried this, but could you also share the small
a and capital
A in Ukrainain and a small
z and a capital
Z? Maybe the community could try it out if you provide these details.
Maybe the regex Help Center article can help to find a solution, e.g. with \w and \-, Restricting Text Responses With Regular Expressions — KoboToolbox documentation.