Advertisement
dimkiriakos

replace

Jul 30th, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. a_string = """
  2. https://www.google.com/search?q=php.cgi+file&oq=php.cgi+file&aqs=chrome..69i57j0i22i30l9.4432j0j7&sourceid=chrome&ie=UTF-8
  3. """
  4. a_string =  a_string.replace('php.cgi', 'xaxa') # replace('αρχικο αλφαριθμητικό', 'η αντικατάστασή του')
  5. print(a_string)
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement