I am trying to get regular expressions that will do these cases:
Case 1:
background: -webkit-linear-gradient(top, #RANDOM_COLOR, #RANDOM_COLOR);
with
background: -ms-linear-gradient(top, #RANDOM_COLOR, #RANDOM_COLOR);
background: -webkit-linear-gradient(top, #RANDOM_COLOR, #RANDOM_COLOR);
Case 2
box-shadow: RANDOM_TEXT;
with
-webkit-box-shadow: RANDOM_TEXT;
box-shadow: RANDOM_TEXT;
I just want to then take use of the Control+F feature in Dreamweaver and replace the text by using regular expressions.

Thank you
Dreamweaver is using the Javascript Regex flavor.
Find 1:
Replace 1:
Find 2:
Replace 2:
Explanation of 1st find pattern:
All space characters
\sare optional (thanks to*). Also, literal parentheses were escaped. In the replacement, the$1,$2etc indicate[capturingGroup n].