You nay need both slash and dollar sign
SELECT regexp_replace('DatabricksExampleString', '([A-Z])', ' \$1');
My Result: Databricks Example String