René's URL Explorer Experiment


Title: Replace a String in Python (Overview) (Video) – Real Python

Open Graph Title: Replace a String in Python (Overview) – Real Python

Description: Welcome to Replacing a String in Python. I’m Philipp with Real Python, and today I’ve got an important task for you. Imagine yourself as a developer working for a company that offers technical support through one-on-one text chats. Your mission is…

Open Graph Description: Welcome to Replacing a String in Python. I’m Philipp with Real Python, and today I’ve got an important task for you. Imagine yourself as a developer working for a company that offers technical support through one-on-one text chats. Your mission is…

Opengraph URL: https://realpython.com/videos/replace-string-python-overview/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    "name": "Replace a String in Python (Overview)",
    "description": "Welcome to Replacing a String in Python. I’m Philipp with Real Python, and today I’ve got an important task for you. Imagine yourself as a developer working for a company that offers technical support through one\u002Don\u002Done text chats. Your mission is…",
    "thumbnailUrl": ["https://files.realpython.com/media/How-to-Replace-Parts-of-a-String-in-Python_Watermarked.a70c83972fa6.jpg"],
    "uploadDate": "2023-08-22T14:00:00+00:00",
    "duration": "PT1M48S",
    "embedUrl": "https://player.vimeo.com/video/853866364",
    "potentialAction": {
      "@type": "SeekToAction",
      "target": "https://realpython.com/videos/replace-string-python-overview/#t={seek_to_second_number}",
      "startOffset-input": "required name=seek_to_second_number"
    }
  }
  

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/How-to-Replace-Parts-of-a-String-in-Python_Watermarked.a70c83972fa6.jpg
og:imagehttps://files.realpython.com/media/How-to-Replace-Parts-of-a-String-in-Python_Watermarked.a70c83972fa6.jpg
twitter:creator@realpython
og:typevideo.episode

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/courses/replace-string-python/continue/
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/courses/replace-string-python/continue/
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Contributorhttps://realpython.com/jobs/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fvideos%2Freplace-string-python-overview%2F
https://realpython.com/courses/replace-string-python/#team
Replacing a String in Pythonhttps://realpython.com/courses/replace-string-python/
Philipp Acsanyhttps://realpython.com/courses/replace-string-python/#team
Recommended Tutorialhttps://realpython.com/replace-string-python/
Course Slides (.pdf)https://realpython.com/courses/replace-string-python/downloads/replace-string-python-slides/
Sample Code (.zip)https://realpython.com/courses/replace-string-python/downloads/replace-string-python-code/
Ask a Questionhttps://realpython.com/courses/replace-string-python/continue/#discussion
https://realpython.com/feedback/survey/course/replace-string-python/liked/?from=lesson-title
https://realpython.com/feedback/survey/course/replace-string-python/disliked/?from=lesson-title
Contentshttps://realpython.com/courses/replace-string-python/continue/#description
Transcripthttps://realpython.com/courses/replace-string-python/continue/#transcript
Discussionhttps://realpython.com/courses/replace-string-python/continue/#discussion
stringhttps://realpython.com/python-strings/
sanitizinghttps://en.wikipedia.org/wiki/Sanitization_(classified_information)
personal datahttps://en.wikipedia.org/wiki/Personal_data
ISO time stampshttps://en.wikipedia.org/wiki/ISO_8601
Sample Code (.zip)https://realpython.com/courses/replace-string-python/downloads/replace-string-python-code/
Course Slides (.pdf)https://realpython.com/courses/replace-string-python/downloads/replace-string-python-slides/
00:00https://realpython.com/courses/replace-string-python/continue/#t=0.46
Welcome to Replacing a String in Python. I’m Philipp with Real Python,https://realpython.com/courses/replace-string-python/continue/#t=0.46
and today I’ve got an important task for you.https://realpython.com/courses/replace-string-python/continue/#t=4.97
Imagine yourself as a developer working for a company that offers technicalhttps://realpython.com/courses/replace-string-python/continue/#t=7.66
support through one-on-one text chats.https://realpython.com/courses/replace-string-python/continue/#t=11.95
00:14https://realpython.com/courses/replace-string-python/continue/#t=14.98
Your mission is to create a script that sanitizes the chat by removing anyhttps://realpython.com/courses/replace-string-python/continue/#t=14.98
personal data and replacing any inappropriate language with fun emojis.https://realpython.com/courses/replace-string-python/continue/#t=19.83
00:26https://realpython.com/courses/replace-string-python/continue/#t=26.08
The chat transcript looks like this.https://realpython.com/courses/replace-string-python/continue/#t=26.08
00:28https://realpython.com/courses/replace-string-python/continue/#t=28.71
Every line is a message from either support_tom or johndoe with ahttps://realpython.com/courses/replace-string-python/continue/#t=28.71
timestamp that looks very funky right now and their messages.https://realpython.com/courses/replace-string-python/continue/#t=33.45
00:38https://realpython.com/courses/replace-string-python/continue/#t=38.0
You will see the transcript in detail in the next lesson, and after a hard dayhttps://realpython.com/courses/replace-string-python/continue/#t=38.0
of work—and by that I mean after following this video course—https://realpython.com/courses/replace-string-python/continue/#t=42.98
the chat transcript must look like this. So compared to the one before,https://realpython.com/courses/replace-string-python/continue/#t=46.68
it’s much, much cleaner. And again,https://realpython.com/courses/replace-string-python/continue/#t=51.21
we will go into details in one of the next lessons.https://realpython.com/courses/replace-string-python/continue/#t=53.06
00:55https://realpython.com/courses/replace-string-python/continue/#t=55.8
And in case you’re using a screen reader,https://realpython.com/courses/replace-string-python/continue/#t=55.8
you will find the before chat transcript and the after chat transcript in thehttps://realpython.com/courses/replace-string-python/continue/#t=58.24
description below this video. So, how would you tackle this task?https://realpython.com/courses/replace-string-python/continue/#t=62.26
01:07https://realpython.com/courses/replace-string-python/continue/#t=67.66
Of course, you could go over it by hand, but where is the fun in that?https://realpython.com/courses/replace-string-python/continue/#t=67.66
Aren’t we all learning to program to lean back and let Python do a job likehttps://realpython.com/courses/replace-string-python/continue/#t=71.78
this? Of course we do. And in this video course,https://realpython.com/courses/replace-string-python/continue/#t=75.32
you will learn how you’ll gain some powerful knowledge on remove or replacinghttps://realpython.com/courses/replace-string-python/continue/#t=79.14
parts of a string or even the whole string With Python. Specifically,https://realpython.com/courses/replace-string-python/continue/#t=83.68
you’ll learn how to remove or replace a string or substring with the .replace()https://realpython.com/courses/replace-string-python/continue/#t=88.78
method. You’ll create regular expressions—you’ll learn about them in a moment—https://realpython.com/courses/replace-string-python/continue/#t=93.36
and leverage re.sub() to make complex rules and set up multiplehttps://realpython.com/courses/replace-string-python/continue/#t=98.14
replacement rules. Sounds good? Okay, let’s get started.https://realpython.com/courses/replace-string-python/continue/#t=102.76
Become a Memberhttps://realpython.com/account/join/
Overviewhttps://realpython.com/courses/replace-string-python/
https://realpython.com/videos/replace-string-python-transcript/
Replace a String in Python (Overview) 01:48 https://realpython.com/videos/replace-string-python-overview/
Investigate the Transcript 02:02 https://realpython.com/videos/replace-string-python-transcript/
Replace a String With .replace() 03:06 https://realpython.com/videos/replace-string-python-method/
Chain the .replace() Method 02:33 https://realpython.com/lessons/replace-string-python-chain/
Set Up Multiple Replacement Rules 04:14 https://realpython.com/lessons/replace-string-python-multiple-rules/
Use a Regex Visualizer 01:59 https://realpython.com/lessons/replace-string-python-regex-visualizer/
Find John Doe 02:14 https://realpython.com/lessons/replace-string-python-john-doe/
Work With a Token 02:04 https://realpython.com/lessons/replace-string-python-token/
Be Case-Insensitive 02:08 https://realpython.com/lessons/replace-string-python-case-insensitive/
Look for a Character Set 01:55 https://realpython.com/lessons/replace-string-python-character-set/
Append a Quantifier 02:18 https://realpython.com/lessons/replace-string-python-quantifier/
Recap Your Regex Patterns 00:13 https://realpython.com/lessons/replace-string-python-regex-patterns/
Get to Know re.sub() 01:09 https://realpython.com/lessons/replace-string-python-resub-intro/
Use re.sub() 05:11 https://realpython.com/lessons/replace-string-python-resub/
Replace a String in Python (Summary) 02:08 https://realpython.com/lessons/replace-string-python-summary/
Privacy Policyhttps://realpython.com/privacy-policy/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.