Regular Expressions - Portland Community College

x Allow whitespace and comments in your regular expression. Example: /[acgt]+/i checks if a string contains any number of valid DNA sequence characters of either case. Using the caret (^) with character class. In practice, it is often useful to check if a string contains anything except the characters of a particular class. ................
................