I'm grouping different geological time scales into more general time scales.
An example of what I would want is
"if Oligocene-miocene is in descript_title, write Oligocene-Miocene in descript_category".
How would I write this as an expression?
As suggested by @ahmadhanb, I could extract a specific part of the feature to the target field.
However, how should I write this code properly? The goal is to do what @ahmadhanb but there is a specific line for each feature.
IF 'Basement Complex (pre-jurassic)' IN descript_title substr("descript_title",0,17)