0
I have a file with strings I need at first filter for example only lines that has 5 characters And in a second moment filter only those that have at least 2 characters repeated together Example: display aazyx or zyaax but do not display azyxa And third filter lines q have at least one vowel.
That last one I know is possible, the other two I don’t know if it’s possible with sed. Thanks for your help and attention
In general, mathematically regular expressions have no memory, could not know what is behind. This is only possible using some modern meta characters (a little more detail here)
– Jefferson Quesado
Now, it is possible to predict which are all possible cases of repetition, so could put in a large group of "or"s...
– Jefferson Quesado