Grep wildcards

Hi all
I want to search for number in file presented with wildcard as shown below.
cat file.txt

1405
1623[0-5]
1415[0-9][0-9]
.......
.......  

How to search for the number 141526 for example?
If the number exist print "Number 141526 exist" if no, print "The number not exist"

Thank you in advance.

Try:

number=141526
if echo "$number" | grep -qf file.txt; then
  echo "Number $number exists"
else
  echo "The number does not exist"
fi

Try:

echo 141526 | grep -f file.txt > /dev/null && echo "Number 141526 exists" || echo "Number 141526 does not exist"

Thank you for the quick answers. Both options work perfectly.