Start a new topic
Implemented

RegExp validation for "hosts" in BlackoutMgt

Hi,

is it possible to validate user input for "hosts" in BlackoutMgt? I know that Host is a Regular Expression itself but since people still keep going to enter wrong data (mixed character case, domain siffix etc.) I want to check if the input is a RegExp I want to allow.

I have build a simple RegExp that would check for more than 95% of our allowed use cases.

"^[a-z0-9-.()|*?+\\]*(?<!com)$"

/Thomas


1 person likes this idea
Login or Signup to post a comment