substring, regular expressions, test(), replace()