I have been lurking on these forums for a while and today I am making my first post as this regex stuff has really been driving me crazy
I need a regex expression that will determine the last number before the decimal point (.) and remove it.
Example: I have a list of file names in a directory such as:
12345678.1
12345.1
By removing the last digit before the 1 I expect these results:
12345678.1 = 1234567.1
12345.1 = 1234.1
I have tried ([A-Z^\.]{1,3}). but it is giving me errors.
Any ideas? Thank you in advance!!
pezkingrich