You can copy the file name to the clipboard with some regex and then use {clip} in your search statement.
{clip}