Q:

Regex - Match all Spaces before first "="

I have a large Property file where I need to quickly remove all the SPACE from the keys which got added by mistake.
I am using Sublime Text. Where I need to use regex to match the following.
What I have:
Rio de Janeiro=Рио де Жанейро
Rio Grande do Norte=Рио Гранде до Норте
Rio Grande do Sul=Рио Гранде направя Sul

What I Need:
RiodeJaneiro=Рио де Жанейро
RioGrandedoNorte=Рио Гранде до Норте
RioGrandedoSul=Рио Гранде направя Sul

I have gone through the Regex list and tried to come up with my own but failed. I need a quick solution so I am here.
Any help is much appreciated. Thanks.

A:

Hit CTRL + H
Find What: [ ]+(?=.*?=)
Replace With: 

Live Demo

Explanation:

