http://www.perlmonks.org?node_id=1214546


in reply to Re^3: check if string is valid with special cases
in thread check if string is valid with special cases

"a ,b,c,d,e" is okay (space with substring) but one space or more (without any symbols) isn't valid. For example: "a, ,c,d,e" or "a,b,c, d,e" are not valid.
  • Comment on Re^6: check if string is valid with special cases