Hi,
I have a
string {abc.def}, I want to use a regular expression which replaces any non alphanumeric things at the begining and the end with an empty space. I have tried (^[^a-zA-Z0-9]) which removes the characters from the begining and this ([^a-zA-Z0-9]$) which removes it from the end, I would like to know how i can combine both of them. I have tried appending a .* in between which does not seem to work.
regards
nithin