Replacing a String In a String in Python



Replacing a String In a String in Python

Replacing a String In a String in Python

This a preview of a video course about replacing strings in Python. If you’re looking for ways to remove or replace all or part of a string in Python, then this course is for you. You’ll be taking a fictional chat room transcript and sanitizing it using the .replace() method.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/replace-string-python/

The rest of the course covers:
– Using a Regex Visualizer
– Using the re.sub() function
– Being case-insensitive
– Applying a quantifier