I need a linux bash script that can replace the spaces in name="this is a test".
example:
<input name="this is a test" id="testing 1 2 3" />
would change to this:
<input name="thisisatest" id="testing 1 2 3" />
EDIT: The script must be able to match anything between the double quotes. It could be this:
<input name="THIS STRING WILL VARY" id="testing 1 2 3" />
Any ideas?