2021年1月21日星期四

How to remove parts of a string text with regex?

I need to use RegEx to manipulate a string.

Here is my initial string that I get from a scraping activity:

[12.11.20 15:05]
AGE ACTION (@ 0.6884)
Pular em 1 at 0.6864
Pular em 2 at 0.6864
Pular em 3 at 0.6864
Chutar at 0.6985

I need to remove the parts of the strings marked in bold:

[12.11.20 15:05]
AGE ACTION (@ 0.6884)
Pular em 1 at 0.6864
Pular em 2 at 0.6864
Pular em 3 at 0.6864
Chutar at 0.6985

Kindly support me on this matter.

https://stackoverflow.com/questions/65838321/how-to-remove-parts-of-a-string-text-with-regex January 22, 2021 at 09:55AM

没有评论:

发表评论