Yes, I have searched and found one general method for validating the input to a custom user field. My skills here are a bit raw, so hoping for suggestions.
We’ve been encouraging people in our education community to include in their profile a username if they have a fediverse account (Mastodon, Bluesky, Threads, et al). These should be something with two @ signs, where the first is a username and the second a valid formatted domain.
@coolperson99@someinstance.org
Despite what I thought was a clearly explained format:
The successful entry rate is like 20% or worse. I get email addresses, twitter usernames, random strings, URLs. I can only dream, but think it should be possible to check with some regex (again my skills are mid range to muddling) for the valid format.
