How to find close similar element

Hy all,
I have a problem in getting very close match value. i have to change the name of a folder and give the name of current transaction item(FolderName.2.5.0)
for example i have 3 filtered data like

  1. FolderName.2.5.0
  2. FolderName.2.6.7
    3)FolderName.3.7.5
    and i want to change the name of most closest element in this case it is the 1st one.
    i can not you regex because both are dynamic.
    Thanks a ton.

Hi @deepa.barode

Have you tried using wildcards (? or *)?

Hy @nlee1131
if i use wild cards then also i will get all the 3 filters.