Python: How to prepend the string 'ub' to every pronounced vowel in a string?

前端 未结 3 1736
-上瘾入骨i
-上瘾入骨i 2020-12-06 12:52

Example: Speak -> Spubeak, more info here

Don\'t give me a solution, but point me in the right direction or tell which which python library I could

3条回答
  •  感情败类
    2020-12-06 13:40

    Regular expressions are really the best route. If you are unsure of how to proceed, check how capturing groups work, and how you can include them in your substitutions.

提交回复
热议问题