The idea is to get results based on unknown parts of the query based on set conditions.
I am using Solr 5 and trying a regex pattern with Query. The sample data is