1. String Manipulation and Regular Expressions 2. Regular Expressions (POSIX) Explanation: 3. BRACKETS [ ] Shows the range of search from the string [0-9] matches any decimal…