+ Start a Discussion
Administrator 167Administrator 167 

How to write an INCLUDE and EXCLUDE REGEX ?

Hello,

With this Regex I'm trying to both:
- include max 30 comma separated string
- yet exclude break line and new line at string end

Has somebody an idea how it should be written ?

REGEX(^(?!\r\n)[^,]+(?:,[^,]+){0,30}$)