I have a textbox and have to use the regular expressions in asp.net
my text should not allow the spaces in first and last place.
output should be:
India Bangalore -valid
<space>India Bangalore<space> - not valid
i.e : use can enter the spaces in between the words but not in first position and last position.
If you have solution in java script that also fine.
Thanks in advance.