Chapter 20. The RegExp Object: Working with Regular Expressions
Using a regular expression, you can specify what kind of text substrings you want to match and work with. For example, here’s how I’m using the regular expression
/[aeiou]/ to search text in a text field for vowels, and if any vowels are found, to ...