Add value replacement feature to export.

This allows experienced users to replace CA values with arbitrary data
for the export using preg_replace.