Not very pretty, but you can do the following:
z = mydata[[x for x in a.dtype.names if 'z' in x]]
Effectively you loop through all of the column names and check if the column name matches the criteria. If there is a better way I would be very interested as I do similar operations in pandas using the pd.DataFrame.columns
attribute.