I have searched for an answer for a couple of hours now and still nothing comes close to solving a specific programming predicament. This is neither for school or work. I'm developing an app that needs to perform pre-defined data cleansing tasks based on regular expressions. One specific expression that I'm having issues with is that of removing whitespace characters between a word and a number. Below are example requirements:
word 123 ==> word123
123 word ==> 123word
world 123 wide ==> word123wide
world wide 123 ==> world wide123
world wide 123 456 ==> world wide123 456
RegEx lookaround seems to be the right approach but still can't figure out how to apply the expression for phrases having more than 2 word blocks.
Thanks in advance.