The naïve approach that I've seen quite a few times is just taking the first two characters and lobbing off the rest.
But now you have a bunch of monograms that look like “DR” or “JO” or “PÈ” which makes no sense as a monogram.
In Swift, `PersonNameComponentsFormatter` could be useful here. But when I was doing this for a web project, no idea what you’re supposed to do with nothing but some regular expressions and faith that you’ll have something serviceable.
@samhenrigold Not to belittle this whole thing because I know it's fun to solve problems like this in smart ways but... I always came to the conclusion that monograms just aren't worth it and found a different solution, ditching them completely.