Photoshop Tip: Select shadows only
Posted in:
Tips & Tutorials, by Mark White
January 2, 2013
Use Color Range (Select>Color Range) to select just the shadow regions in your image

Inside the dialog box, set the Select list to Shadows. No other options will be available.
Hit OK, and then add an adjustment layer such as Levels to edit the lighting in those areas only.