I would like to know the regex for removing the period from a string without affecting the decimal number and then store them as separate tokens
str = "..A 546.88 end."
in the above string value I just need only the values “546.88”, “A”, “end” and store them into an array
thanks for help
The most generic would be:
I created a small sample to do what you ask in your comment: