Tags: nactf grep 

Rating:

### Get a GREP #1! 125pts
### Juliet hid a flag among 100,000 dummy ones so I don't know which one is real! But maybe the format of her flag is predictable? I know sometimes people add random characters to the end of flags... I think she put 7 random vowels at the end of hers. Can you get a GREP on this flag?
###
### .The20thDuck
### HINT : Look up regular expressions (regex) and the regex option in grep!~~

For This task i used this ressource : http://www.linux-france.org/article/memo/node7.html

So , in [flag.txt](https://we.tl/t-8Qdb0xj1ac) we have more than 46k flag formati to filter we need to use this command :
** egrep "(o|i|y|e|a|u)(o|i|y|e|a|u)(o|i|y|e|a|u)(o|i|y|e|a|u)(o|i|y|e|a|u)(o|i|y|e|a|u)(o|i|y|e|a|u)}$" flag.txt**
OR
**egrep [aeiou]\{7\} flag.txt**