Get only specific paths from multiple subfolders

I have this directory with multiple subdirectories.

How do i extract the path to ones which have “a” in it. Just a, a_1, a_2, and add them in a list.
[a,a_1,a_2]. I hope this can be done with linq.

Thank you!

Hello @Andrei_Croitoru,

Hope this helps!!
Main.xaml (6.0 KB)