BASH: Remove ending from string

string="awesome_vacation_movie.mp4"
string_without_ending="${string%.mp4}"