Full text search by regex key

Hi,
I have created a field name employeeDetails which has concatenated information
firstName:middleName:lastName
would this regex work for searching ‘firstName:*:lastName’ in case the user don’t specify the middleName while searching