hi,
can anybody tell me a javascript regular expression which removes spaces in a string? I am catching a value in a javascript function which contains space.For example ' pavan kumar' or 'pavan kumar '
I need only to remove before or after space. The space between pavan and kumar should be as it is. Could anybody help me?
Thanks,
pavan
can anybody tell me a javascript regular expression which removes spaces in a string? I am catching a value in a javascript function which contains space.For example ' pavan kumar' or 'pavan kumar '
I need only to remove before or after space. The space between pavan and kumar should be as it is. Could anybody help me?
Thanks,
pavan
Comment