Hi
In excel i have one column Age . It has value - 11.2 years
i want only 11.2 , i want to remove any alphabetic values .
Thanks
Hi
In excel i have one column Age . It has value - 11.2 years
i want only 11.2 , i want to remove any alphabetic values .
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rafnas T PPosted Apr 13, 2023, 6:30 AM
I think you have one space after age value after that you added 'years' right, then you can do that cell value.ToString().split(' ')[0]; to get first before space value.
Hope it will be helpfull to you.
Naimish MakwanaPosted Apr 13, 2023, 6:25 AM
Hello Ramco,
Use regex as below:
Thanks
Naimish Makwana