I found many custom format validation questions and answers, however all's format was a specific hardcoded format. I would like to allow to set date and datetime format as (runtime) "setting" in my web application so it will dynamic at runtime. I would like to validate the user input against this setting:I found many custom format validation questions