How to specify delete subdirectories named "abc" or "def" using find in linux
If I want to remove all subdirectories (and sub-subdirectories etc.) named "Win32" from current directory, I would do

    find . -type d -name Win32 -exec rm -rf {} \;

However, what if I want to remove subdirectories named "Win32" or "x64"? I've tried using regular expressions after "-name", e.g.

    find . -type d -name "\(Win32\|x64\)" -exec rm -rf {} \;

 but it didn't work.
How to specify delete subdirectories named "abc" or "def" using find in linux
===

If I want to remove all subdirectories (and sub-subdirectories etc.) named "Win32" from current directory, I would do

    find . -type d -name Win32 -exec rm -rf {} \;

However, what if I want to remove subdirectories named "Win32" or "x64"? I've tried using regular expressions after "-name", e.g.

    find . -type d -name "\(Win32\|x64\)" -exec rm -rf {} \;

 but it didn't work.