sub one string with another using regular expression in Python

后端 未结 0 914
北海茫月
北海茫月 2020-12-08 01:41

I have a sample string - \'20yabcyabc5yab10y\' I want to find a way in Python using regular expression replace any \'y\' preceding by digits to \'y_\' and have something lik

相关标签:
回答
  • 消灭零回复
提交回复
热议问题