Home>

How to remove the word whole in Python? The Replace command can delete the characters in the Word, which themselves are a little word. How to make it possible to remove only a whole word, separated by spaces, commas and other punctuation marks?

Re.Sub (R '\ Baslovo \ B', '', Row)

andreymal2021-07-21 16:46:14

Possible duplicate question: replacement with re.sub ()

Wiktor Stribiżew2021-07-21 21:28:54