Need Hive Query using regexp_extract to extract a part of a Field (type String).
The value in it is colon-separated
Field String:
ID(1001):10|Value(1002):8|Name(xyz):7
Need to extract the value after :
>ID -> 10
>Value -> 8
>Name -> 7
Tried using regexp_extract and could not get the output.
regexp_extract