Hello,
How do you set regex validator to validate multiline? Can regex validator set to validate multiline?
I tried adding the "/gm" at the end of the pattern but it does not work. I tried escaping the "/" but that didn't work.
Regex Pattern for range of ports:
^(?:[1-9]\d{0,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])(?:-(?:[1-9]\d{0,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5]))?$/gm
I appreciate your help.