Help with ignoring *.dat files visible as videos/movies



Hi,
I was trying to have Kodi ignore .dat files (using Kodi 21.1 , smb:// sources here, on Android 11) , and failed. What I tried  in advanced settings: 
1.
 <videoextensions>
       <remove>.dat|.rar|.zip|.nfo</remove>       
  </videoextensions>
2.
    <excludefromlisting> <!– Regular expressions that if evaluated to true won’t be displayed in Files View –>
           <regexp>.dat</regexp>
        </excludefromlisting>
        <excludefromscan> <!– Regular expressions that if evaluated to true won’t be displayed in Files View   ^.*.dat.*$ –>
           <regexp>.dat</regexp>
        </excludefromscan>

Content is set to mach movie path name . in that path there are both  mkv and dat files.

Both seem not to work Sad  Movie library shows also the *.dat files entries
Any hint on the correct way?