Below string I need to compare conditional operator. So only if 81.1.4\_r4345 doing some operation or else matching with “done” then execute some operation.

```
  vasanth-releases_81.1.4_r4345.tar.gz

     vasanth-releases-done.tar.gz

If [[ $var == ‘vasanth-releases_{0-9}_{0-9}.tar.gz ]] ; then 
    echo ‘True’
Elsif [[ $var  == ‘Vasanth-releases-{a-z}.tar.gz ]]; then 
    echo ‘False’
else 
    echo ‘default’
fi

```

Above try not working expected. So need regex format for this two files. Could you please help on this

Thanks