Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEA
Great work @JonMcMillin 🙂
@KevinTang Nice try but your regular expression is not accounting for the last header which does not contain a trailing space.
Because there are eight separate elements on the header row, this did not cause an error but "Annual Claims" is not an actual header but rather, I assume, the title of the table. This is causing your headers to be misaligned with the corresponding data.
Finally! That took a while...
Not the most elegant but fairly automatic (not as automatic as I'd like it to be though. I'll have a look at the solution now and see how you can make it better
Really took me quite some time to do this! Really wish I can use lesser tools though! Attempted Regex, and then resorted to not using it at all.