Home>exec() JavaScript RegExp Method>Edit It: Search for '@' in the given stringEdit It: Search for '@' in the given stringThis code shows how to search for '@' in a string.See it on StackBlitz