in reply to Re^2: Regex: Specifying quantity for bracketed items
in thread Regex: Specifying quantity for bracketed items

Right you are! Fixed below.

/ ^(?![ ]) # Doesn't start with a space .*? # Anything (?<![a-z0-9]) # For the {5,12} to be meaningful. [a-z0-9]{5,12} # Has a 5..12 lowercases or digits in a row (?![a-z0-9]) # For the {5,12} to be meaningful. .* # Anything (?<![ ])$ # Doesn't end with a space /x