Regex question

Would any one know the regex to detect hoisted names as well as unicode charectors names? I don't work with regex much so I wouldn't know how to go about this
3 Replies
d.js toolkit
d.js toolkit10mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Hailey
Hailey10mo ago
And pls ping on reply or I'll forget this
Togarashi
Togarashi10mo ago
you could always just limit to ascii and trim special chars at the beginning altho that would cut out cjk names and whatnot so that sol has its own issues by the looks of it most hosted names (at least here) are just a regular username prefixed with some number of !s so you could just check that too