How to remove paddings from columns of all sizes on bootstrap 4?

Is there a way to remove padding from column of all sizes in Bootstrap 4? I can alter just one class by doing col {padding: 0;} but that will only effect the col class. Not it's other counterparts(col-2, col-3 etc). Is there a way in css to select a range of classes? Like col-* would select all classes that start with col-. It would be helpful if there is a solution might be applicable in this situation.