All pastes #822887 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-12-19 00:57 UTC
rendered paste body
actual data

<span style="color:#928469;">w</span><span style="color:#978a67;">w</span><span style="color:#938761;">w</span><span style="color:#8f8260;">w</span><span style="color:#8f8260;">w</span><span style="color:#8f8260;">w</span><span style="color:#988b69;">w</span><span style="color:#948765;">w</span><span style="color:#807353;">w</span><span style="color:#928467;">w</span><span style="color:#998c69;">w</span>

i want to check each one of the colors in pairs(i think that's best) and see if they are equal like 8f8260 (3 occurrences) and write that 3 spans as one.

example:
<span style="color:#8f8260;">www</span>