In Bash, how does one match a regular expression with multiple criteria against a file name? For example, I\'d like to match against all the files with .txt or .log endings.
for f in $(find . -regex ".*\.log") do echo $f end