UI Access
Select the code from the Code View, right click on the selection and select "RegExp Search Replace..." from the "Selection" submenu. You can find the same submenu into the Dreamweaver's Commands menu. Insert the matching pattern in the "Search:" field and the replacing pattern in the "Replace with:" field.