how to remove text between [removed] and [removed] using python?

后端 未结 9 676
眼角桃花
眼角桃花 2021-02-04 19:19

how to remove text between using python?

9条回答
  •  佛祖请我去吃肉
    2021-02-04 20:11

    I don't know Python good enough to tell you a solution. But if you want to use that to sanitize the user input you have to be very, very careful. Removing stuff between and just doesn't catch everything. Maybe you can have a look at existing solutions (I assume Django includes something like this).

提交回复
热议问题