Transmit data between multiple search filters?

look. i want find the file named "a.png" when the file named "a.txt" existed, attention: i'm using regex
filter1: "(.+).txt"
filter2: "\1.png"
i did and it didn't work, so how can i transmit data to filter2 form filter1?

Filters cannot do that on their own.

You can do it by creating a Script Column which does both checks and returns true or false, then filter on the Script Column.

Suank you very much