Basic examples on shooting Lightning in Camera Raw (based on sample from Canon Eos 5D with 24-70 2.8 L USM)

below: JPEG from original RAW file (ISO 100, F2.8)

below: recovered version (JPEG from curves edited RAW file)

below: recovered version (Curves edited version from JPEG (as if shot as JPEG originally)