Write a query utilizing window functions such as ROW_NUMBER or DENSE_RANK to identify the top three active users per region over the last quarter.