3
I am trying to remove the comma that is located outside the brackets of the following excerpt:
2||Azul||Cor||["#1983ff", "#1983ff"],3||Amarelo||Cor||["#fff73d"]
I need the comeback to be that way:
2||Azul||Cor||["#1983ff", "#1983ff"]3||Amarelo||Cor||["#fff73d"]
Can any ninja in regex give me a hand in this? (The above section has no variation, always turn this way) Thanks.
You want a Regular Expression that selects everything but the comma out of the brackets, or select the comma out of the brackets and delete it?
– R.Santos
@R.Santos Select the comma outside the brackets and eliminate it.
– Denis Bernardo
And the search pattern will always be the example?
– R.Santos
Yes, it will be the same.
– Denis Bernardo
You’ll get more accurate answers if you tell us what in the section you posted varies. Who knows a few more examples?
– Genos
I edited the question, actually there is not much to add. Basically that would be.
– Denis Bernardo