How to click on another identical button if exact not found

I am trying to click on any one of the available “Booking” buttons from all of these…
(But the time-slot should be from 7:00 to 9:00 and gate can be any)

here is the selector

<html app='chrome.exe' title='*' />
<webctrl tableRow='13' tag='TABLE' />
<webctrl name='_ctl0:ContentPlaceHolder1:Booking1:dg_Booking:_ctl5:btn_Hour0800' tableRow='4' tag='INPUT' aaname='Booking' parentid='_ctl0_ContentPlaceHolder1_Booking1_dg_Booking' />

**where _Ct15 is the gate-number

You’d have to use Find Children (set to descendants) to get an array of all the booking button UI elements. Then use logic to decide which one to click.

@Sami_Rajput

You can create a regex in selector name field fozz a r timr 7 to 9 as per selector looks like time is present…so as per selector it would automatically click on first available slot between 7 to 9

If you can provide two more booking selectors we can give regex

Cheers