Home>test() JavaScript RegExp Method>Edit It: Test if the given string contains '@'Edit It: Test if the given string contains '@'This code shows how to test if the given string contains '@'.See it on StackBlitz