Welcome to the Streamlit community and thanks for your thoughtful question! Currently, Streamlit’s st.file_uploader supports directory uploads using accept_multiple_files=“directory”, and you can filter files by extension or MIME type via the type parameter. However, there is no built-in support for regex-based filtering of files before upload—only file type filtering is available out of the box.