regular expressions
500+ articls more
100% Free • No Login • Updated Weekly • 2026 Ready
-
Introduction to string manipulation
Concatenation
Indexing
Slicing
Stride
String operations
Adjusting cases
Splitting
Joining
Stripping characters
Finding and replacing
Finding substrings
Index function
Counting occurrences
Replacing substrings
Positional formatting
string formatting
Methods for formatting
Reordering values
Named placeholders
Format specifier
Formatting datetime
Formatted string literal f-strings
Type conversion
Index lookups
Escape sequences
Inline operations
Calling functions
Template method
Substitution
The re module
Supported metacharacters
Repeated characters
Quantifiers in re module
Regex metacharacters
Special characters
OR operator in re Module
OR operand in re module
Greedy vs. nongreedy matching
Grouping and capturing re module
Pipe re module
Non-capturing groups
Backreferences
Numbered groups
Named groups
Lookaround
Look-ahead
Positive look-ahead
Negative look-ahead
Look-behind
Positive look-behind
Negative look-behind