How to test a string with a regular expression in JavaScript

How to test a string with a regular expression in JavaScript

More to explore

Based on this image's title: “How to test a string with a regular expression in JavaScript