x <- "UNB+UNOC:3+4399945681577+_GLN_Company__+180101:0050+10870"
regmatches(x, regexpr("\\+\\K[^+]+\\+[^+]*$", x, perl=TRUE))
library(stringr)
str_extract(x, "(?<=\\+)[^+]+\\+[^+]*$")
eCA8LSAiVU5CK1VOT0M6Mys0Mzk5OTQ1NjgxNTc3K19HTE5fQ29tcGFueV9fKzE4MDEwMTowMDUwKzEwODcwIgpyZWdtYXRjaGVzKHgsIHJlZ2V4cHIoIlxcK1xcS1teK10rXFwrW14rXSokIiwgeCwgcGVybD1UUlVFKSkKbGlicmFyeShzdHJpbmdyKQpzdHJfZXh0cmFjdCh4LCAiKD88PVxcKylbXitdK1xcK1teK10qJCIp