My requirement is remove all unnecessary spaces from a string with using regular expression.
I have a string like this:
"name=john age=26 year=1999";
I want to remove Unnecessary space between two eliminator, expecting output
"name=john age=26 year=1999;"