Help with SHOWFILTERFILENAME

I have a button that filters specific document types for Office apps.

Set SHOWFILTERFILENAME="*.doc" Set HIDEFILTERFOLDERS="*"

How do I augment it to show both .doc and .docx files? I've tried a few different ways but am struggling with the syntax.

Set SHOWFILTERFILENAME=*.(doc|docx)

that worked. thanks.