how to remove double white space using regexp (javascript) ?
var text = "My name is Anas Fares";
result
var result = "My name is Anas Fares";
Maybe it needs regexp :)
How can i learn regexp because it is very hard. Are there any simple book ?