I have been trying to use regex with find command in bash. Following are my codes:
find . -regextype posix-extended -regex 'AB[0-9]{1}_all_chr\.gz'
However, above code did not match to desired file with id such as "AB1_all_chr.gz" and "AB2_all_chr.gz". can someone help me out with this piece of code?