Python Stanza, Regex (Regular Expressions) Library Regex is used for pattern matching and text processing in NLP.