With over exploitation and increasingly severe environmental pollution, traditional economic growth models are no longer able to promote high-quality regional economic development. Especially in recent years, the limitations of resources and environment, global geopolitical conflicts, and other factors have brought enormous uncertainty to the economic development of each country. To cope with the uncertainty of economic development, it is necessary to use the digital economy formed by the new generation of information technology to strengthen the economic resilience of various regions. This study collected panel data from 30 provinces and cities in China from 2013 to 2022, using the PSM-DID model to examine the subtle relationship between the formulation of digital policies in different cities and their economic resilience. Specifically, environmental regulations and industrial digital transformation play an important role in the process of urban digital policies affecting economic resilience. The research findings of this article emphasize the crucial role of digital policies in addressing the current challenges of economic uncertainty. Through empirical research, the results show that the strategic implementation of digital policies can not only effectively promote the digital transformation of traditional industries, but also strengthen the role of environmental regulations in promoting sustainable development of industries. The digital transformation of industries and sustainable development will significantly enhance regional innovation capabilities and ultimately strengthen regional economic resilience.