Q: regex help to remove a + I am having a problem with a + sign. 
Here is my format of my CSV
wifichannelnumber+ssid+macaddress of AP

Here is an example of a good line
6+Jills-Equinox+78:61:7c:19:xx:xx

And here is the problem mine. Note the + next to S8. 
11+Samsung-Galaxy-S8+-4469+a2:cc:2b:8d:xx:xx

I would like to remove plus in bash or python (Edit) for a whole CSV

A: phone = "11+Samsung-Galaxy-S8+-4469+a2:cc:2b:8d:xx:xx"
print(phone.replace("S8+","S8"))
>>>11+Samsung-Galaxy-S8-4469+a2:cc:2b:8d:xx:xx


A: Your desire regex is:
^(\d+)\+(.*)\+(([\w\d]{2}\:){5}[\d\w]{2})$
Then you can use python to remove every '+' sign in the second regex group

A: Python solution:
s = '11+Samsung-Galaxy-S8+-4469+a2:cc:2b:8d:xx:xx'
if s.count('+') > 2:
    parts = s.split('+')
    s = '{}+{}+{}'.format(parts[0], ''.join(parts[1:-1]), parts[-1])

print(s)

The output:
11+Samsung-Galaxy-S8-4469+a2:cc:2b:8d:xx:xx

