Created by: samford
I went through the new gendered/aged millennial cases and refactored them so they use 75% fewer replace() calls in those areas. I also covered six additional cases that weren't being handled and fixed issues with two cases that weren't working properly.
Along the way, I created a neat regex trick that allowed me to handle two particular cases in one replace() call so I used that technique where it was appropriate in other areas. That ended up dropping eight additional replace() calls, so I think I got rid of about 77 replace() calls this time.