How to remove More Than One Spaces In Between Words of contents in dreamweaver source view. when i copy any data from MS word and paste in Dreaweaver. dreamweaver shows many unneeded spaces in source code. which is showing also in html output like extra space betwwen word and extra space after "." fullstop.
views:
269answers:
1
+2
A:
Concerning regex tag you should be able replace " +" with " " (Both without quotes). That will destroy all subsequent spaces after first one.
Also you can search for "[ \t]+" instead of " +" in order to "eat" tab characters too.
n0rd
2009-12-24 13:30:34
how to use your code in dreamweaver
metal-gear-solid
2009-12-24 13:36:37
I never used dreamweaver, but in case you can use regexes for search and replace, the pattern I provided should do the trick. http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions_03.html - describes how to do regex-enabled search and replace as well as regex basics.
n0rd
2009-12-24 13:57:29
cool , awesome. u r life saver
metal-gear-solid
2009-12-24 14:03:12
no this not working [ \t]+" instead of " +"
metal-gear-solid
2009-12-28 05:57:32
@nord- it's not working is space is after fullstop "." in source content
metal-gear-solid
2010-01-05 10:21:41