Test, validate and match regular expressions
This regex matches strings starting with an @ symbol followed by one or more non-space characters. It is commonly used to identify and extract mentions or usernames in social media posts, chat applications, or forum comments. The global flag ensures it finds all occurrences within a given text.