I have ~5000 features in a layer in QGIS. Each feature has a unique ID. I have a list of ~800 features (with corresponding IDs) I would like to select and remove from the layer. Which expression could I use to do this?
The expressions I have used in the expression field of the attribute table have not worked.
For example: My IDs look like ['AB123', 'AC12-30', 'TH018'....] I've tried expressions like: 'ID' = 'AB123' OR 'AC12-30' OR 'TH018'
But the expression is invalid because the above IDs cannot be converted to boolean. I generated my list of IDs I want to remove in another development environment. I'd like to select those IDs in the Attribute Table then delete selected features.