Painless scripted fields for truncating multiple values of a field

You can use REPLACE?

REPLACE(
    source,      
    pattern,     
    replacement)

Something like below

return REPLACE(doc['tags.keyword'], "targetgeo:", "")

A little POC -->