I need validation for string to comply with next:
- no space char
- starts with one delimiter char
- ends with one delimiter char
- has no other char as delimiter char
How this can be done?
Updated sorry missed that should only be one delimiter char at start and at the end
If I understood your question right, this should do: