grep wildcard

Shell
# EXAMPLE: Displays all files containing a row that has "dSales[some-text]500"
grep "dSales.*500" *

# SYNTAX
# grep "<your-partA>.*<your-partB>" *

# The ".*" is considered the wildcard (and can match more 
# than one character and/or no characters at all)
Source

Also in Shell: