In terms of the variables, there is not currently a way to include a wildcard. Although, wildcards can be used in a mask defined using a command. One thing that might help is that you can use the commands, such as the Points command to generate a column based on more complex expressions.
Here is an example to illustrate.
1 – Add a Points command with the x as the row number and leave the y as specified.
2 – Add Mask conditions using wildcards as needed. In my example, I wanted all rows returned where it the text begins with ‘A’ or ends in ‘1’.
3 – Click the gear menu on the Points command and select Extract as Column >Mask.
This creates a number column of 1 and 0, where 1 means the value satisfied the conditions (outlined here in red).
You don’t even have to draw the result of the command but just use this as a way to create more complicated mask statements. Then the extracted column, containing 1 or 0, is used in other commands where you want to draw the data or perform other calculations.
Again I am not sure if this is getting at your question but this is a way to create a more complicated mask and have it represented in a single column.