Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAcrazy what is possible with regex
Done!
i'll be honest - i still do not fully understand Regex, and need to improve my understanding - time to go to the Regex website 😙. I know with the Regex tool that there are four options, and in this case we need to use 'Replace'. I also understand part of the syntax, but not all.
I included both my normal solution and a one-tool solution (I needed a little help from the internet to get the syntax right):
My solution: