Print FieldKeys based on some pattern or using regex

I am using InfluxDB 2.0.9. I have thousands of fields in measurements.
I want to print the field keys with having some pattern.
Suppose, I have set of columns as colA, colB,colC,colD,ColE,-------colZ and field1,field2,field3,field4….

Now I want to print the fields which have /col/ pattern.

Can anyone help me with this?

Thanks

Hello @Ravikant_Gautam,
You can use regex in your filter like:

Also could be useful: