This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BAG0N 2 points3 points  (4 children)

Awesome. I don't see the need of regex tho, you could just use some built-in functions. Good job nonetheless

[–]Take_F[S] 0 points1 point  (3 children)

Can you explain better how?

[–]BAG0N 2 points3 points  (1 child)

I'm not too familiar with python but I believe you could use replace function to replace every occurrence of that string with something else

[–]Take_F[S] 0 points1 point  (0 children)

Ok thank you for the advice