Hi
I have a variable. I want to find out if it contains any alphabets if so then append '(single quote) before and after to that variable. if there are no alphabets then no need to append.
var mysample = $('p').text();
find out if this var "mysample" contains alphabets are not if so then append ' before and after that value.
I think i need to use REGEXP but i am not sure how to do that. Can some one point me out what to do.
I am looking for a jquery formate solution.
Thanks Kumar