@averma,
I was wrong with the "*"...I will have to fix that on the other post. My apologies. In the "Name" box, there is a selector to change from "Equal to" to "Contains", then just leave in the text field only that which is the same in all filenames.

On your other option, I noticed in the first photo above, %NewVar% was set to Current Item (the file path and name) without extension. Then %NewVar% is used in your selector "Name=". I think this is an error, because looking at my default selector below, it is only the name.extension, not the path (note: extension is included):

So, you will need the filename only, which I believe @tkuehara addressed would equal CurrentItem.name.
Best of luck.