Help for this page

Select Code to Download


  1. or download this
    /^\w+           # Starts with a "word"
     (?:,\w+)*$/x;  # Followed by many "comma and word" atoms
    
  2. or download this
      /^[\w,]+$]/ &&  # Comma word atoms
    ! /^,|,,|,$/;     # With constraints on commas