So what i want to be able to do is print the line if a partciular regex appears a particular number of times in that regex. So for example lets say the regex is Goku. I want to print the line if the particular regex Goku appears like 10 times together in a line, so like
if goku appears like gokugokugokugokugokugokugokugokugoku, then only it should print that line.
if($textFile =~ /Goku/i){
print $textFile (Only print if goku appears 10 times together in th
+at line)
}