Measuring the Cost of Regulation: A Text-Based Approach