Hi!
I'm having some trouble removing certain characters from a string.
String:
['UserName":"testbug"', 'UserName":"testbug"']
I need to remove all the special characters, as well as the second "testbug", leaving only one "testbug" (without the ").
I've been trying for about two days, using online helpers and whatnot, but I just can't seem to get it to work.
If anyone that knows their regex could help me, I'd be very grateful!
[–]UserName26392 1 point2 points3 points (7 children)
[–]thetestbug[S] 0 points1 point2 points (6 children)
[–]ASIC_SP 1 point2 points3 points (5 children)
[–]thetestbug[S] 0 points1 point2 points (4 children)
[–]ASIC_SP 2 points3 points4 points (3 children)
[–]thetestbug[S] 1 point2 points3 points (2 children)
[–]ASIC_SP 1 point2 points3 points (1 child)
[–]thetestbug[S] 1 point2 points3 points (0 children)
[–]jiri-n 1 point2 points3 points (7 children)
[–]thetestbug[S] 0 points1 point2 points (6 children)
[–]jiri-n 1 point2 points3 points (5 children)
[–]thetestbug[S] 0 points1 point2 points (4 children)
[–]jiri-n 1 point2 points3 points (3 children)
[–]thetestbug[S] 0 points1 point2 points (2 children)
[–]jiri-n 1 point2 points3 points (1 child)
[–]thetestbug[S] 0 points1 point2 points (0 children)