Hi all,
I have an input box that should only contain decimal point numbers (including negative values), but I'm not sure how to remove invalid characters and replace it with something that is valid (i.e. the value e3.45 should be replaced with 3.45). If all the characters in the textbox are not valid, then a zero should be input as the value.
Working with regular expressions is not my strong point, so any help would be greatly appreciated, even if it's just helping me onto the right track.
Thanks in advance