I have an issue where, I am not able to explode based on database values.
my database values can be as such
- 1-10
- < 10
- ">20
I want to explode based on specail characters and put them in an array.
for example
$array = explode("/ (-) "/, Model::find()->findByPj($model->id));
How do I get the regex for that to explode dynamically based on the data