how to capture string from csv line that comes after specific word
for example , this is the csv line that we want to cut the strings that comes after /data/
status=true /data/sdb/hadoop/hdfs/log,/data/sdc/hadoop/hdfs/log,/data/sdd/hadoop/hdfs/log,/data/sde/hadoop/hdfs/log,/data/sdf/hadoop/hdfs/log
example of expected resuls
sdb
sdc
sdd
sde
sdf
status=true
part not separated by a,
? – AdminBee Mar 03 '20 at 11:29/data/sdb/foo/data/bar
existed in the CSV? What if a field was/foo/bar/data/
(i.e. nothing after/data/
)? – Ed Morton Mar 03 '20 at 15:57