René's URL Explorer Experiment


Title: Replacing a String in Python – Real Python

Open Graph Title: Replacing a String in Python – Real Python

Description: In this video course, you'll learn how to remove or replace a string or substring. You'll go from the basic string method .replace() all the way up to a multi-layer regex pattern using the sub() function from Python's re module.

Open Graph Description: In this video course, you'll learn how to remove or replace a string or substring. You'll go from the basic string method .replace() all the way up to a multi-layer regex pattern using the sub() function from Python's re module.

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

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "https://schema.org",
  "@type": "Course",
  "@id": "https://realpython.com/courses/replace-string-python/",
  "url": "https://realpython.com/courses/replace-string-python/",
  "name": "Replacing a String in Python",
  "description": "In this video course, you'll learn how to remove or replace a string or substring. You'll go from the basic string method .replace() all the way up to a multi-layer regex pattern using the sub() function from Python's re module.",
  "availableLanguage": [
    "en"
  ],
  "educationalLevel": "Beginner",
  "educationalCredentialAwarded": {
    "@type": "EducationalOccupationalCredential",
    "credentialCategory": "Certificate",
    "name": "Real Python Certificate of Completion"
  },
  "hasCourseInstance": [
    {
      "@type": "CourseInstance",
      "courseMode": "Online",
      "courseWorkload": "PT75M19S",
      "instructor": {
        "@type": "Person",
        "name": "Philipp Acsany",
        "image": "https://realpython.com/cdn-cgi/image/width=400,height=400,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/phi5_2.0e61b4c66f6b.jpg",
        "url": "https://realpython.com/team/pacsany/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    }
  ],
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/How-to-Replace-Parts-of-a-String-in-Python_Watermarked.a70c83972fa6.jpg",
    "width": 1920,
    "height": 1080
  },
  "inLanguage": "en",
  "provider": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
  },
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "syllabusSections": [
    {
      "@type": "Syllabus",
      "name": "Leveraging Python's .replace()"
    },
    {
      "@type": "Syllabus",
      "name": "Creating Regular Expressions"
    },
    {
      "@type": "Syllabus",
      "name": "Working With Regular Expressions"
    }
  ],
  "offers": [
    {
      "@type": "Offer",
      "category": "Subscription"
    }
  ],
  "datePublished": "2023-08-22",
  "dateModified": "2023-08-18"
}

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:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/courses/replace-string-python/
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/
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=%2Fcourses%2Freplace-string-python%2F
https://realpython.com/courses/replace-string-python/continue/
https://realpython.com/courses/replace-string-python/#team
Philipp Acsanyhttps://realpython.com/courses/replace-string-python/#team
basicshttps://realpython.com/tutorials/basics/
best-practiceshttps://realpython.com/tutorials/best-practices/
stdlibhttps://realpython.com/tutorials/stdlib/
Start Now https://realpython.com/courses/replace-string-python/continue/
Rate and Reviewhttps://realpython.com/feedback/survey/course/replace-string-python/feedback/?from=course
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
Q&A With Python Experts: Ask a Questionhttps://realpython.com/courses/replace-string-python/discussion/
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/
Start Nowhttps://realpython.com/courses/replace-string-python/continue/
1. Replace a String in Python (Overview)01:48 https://realpython.com/videos/replace-string-python-overview/
2. Investigate the Transcript02:02 https://realpython.com/videos/replace-string-python-transcript/
3. Replace a String With .replace()03:06 https://realpython.com/videos/replace-string-python-method/
4. Chain the .replace() Method02:33 https://realpython.com/lessons/replace-string-python-chain/
5. Set Up Multiple Replacement Rules04:14 https://realpython.com/lessons/replace-string-python-multiple-rules/
1. Use a Regex Visualizer01:59 https://realpython.com/lessons/replace-string-python-regex-visualizer/
2. Find John Doe02:14 https://realpython.com/lessons/replace-string-python-john-doe/
3. Work With a Token02:04 https://realpython.com/lessons/replace-string-python-token/
4. Be Case-Insensitive02:08 https://realpython.com/lessons/replace-string-python-case-insensitive/
5. Look for a Character Set01:55 https://realpython.com/lessons/replace-string-python-character-set/
6. Append a Quantifier02:18 https://realpython.com/lessons/replace-string-python-quantifier/
7. Recap Your Regex Patterns00:13 https://realpython.com/lessons/replace-string-python-regex-patterns/
1. Get to Know re.sub()01:09 https://realpython.com/lessons/replace-string-python-resub-intro/
2. Use re.sub()05:11 https://realpython.com/lessons/replace-string-python-resub/
3. Replace a String in Python (Summary)02:08 https://realpython.com/lessons/replace-string-python-summary/
Start Nowhttps://realpython.com/videos/replace-string-python-overview/
https://realpython.com/team/pacsany/
» More about Philipphttps://realpython.com/team/pacsany/
https://realpython.com/team/cbailey/
Christopherhttps://realpython.com/team/cbailey/
https://realpython.com/team/mbreuss/
Martinhttps://realpython.com/team/mbreuss/
https://realpython.com/team/tmoore/
Tappanhttps://realpython.com/team/tmoore/
https://realpython.com/team/icurrie/
Ianhttps://realpython.com/team/icurrie/
https://realpython.com/team/gahjelle/
Geir Arnehttps://realpython.com/team/gahjelle/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/kfinegan/
Katehttps://realpython.com/team/kfinegan/
← Browse All Courseshttps://realpython.com/search?kind=course
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

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.