In the example i search for all lines which have less or more than 5 spaces as seperator.
there are 3 (of 4) arbitrary groups wich have an specified nr of copies of an regEx in it: in the example the valid nr of entires is 5 : -> that means 4 spaces are valid in-between the entries
The 4. Group matches every entry with has no spaces in between
If you want to change the nr of valid entries to e.g. to 10: --> 9 spaces are valid in-beteween
I´ve used this regEx for checking if names are valid to (own created) name-convention. These convention consists always of 5 entries with non-white-Spaces, and this entries are separated wiht 1 space in between.