Posts Tagged remove space

Javascript Replace

Sometime we need to replace the space (‘ ‘) from the any string for validation purpose. Most of the time it need to use validating postcodes. But it is very strange that the replace function of javascript just replace one space.

Suppose we have a string Read the rest of this entry »

, , ,