Quick question about custom exclusions

been looking around and not finding anything on this but if I have multiple folders spread out on my system with the same name I dont want scanned. How would I enter it as I’m a newb at regular expressions. Or can it be done this way?

My best guess.
?:.*\Folder*

Try *:*\Folder*