How do I make a regular expression saying that this has to repeat exactly a tot of times? For example, I would like to check if a line from a file contains this pattern |1_CHAR
exactly 8 times. By now, it is possible for example to say that the character type has to be espaço
, or o
, or *
?