I'm new to regex, and I'm trying to use it to exclude dot underscore files, left all over a server of mine by OSX users.

All I've got so far is:

`^\._`

I'm not sure if this is correct, and it's something that needs to be right the first time. If someone could explain if the above is right, or if it's not, explain why it's not and what is right.

Right now I'm excluding `tmp` and `DS_Store` files, without regex, but I want to exclude `._` files. For example, `._example.txt`.

Thanks in advance.