How to use a variable as a className inside preg_match_all parameters?
Note: this question is not related to WordPress, but rather to PHP directly and should be asked at StackOverflow but I have provided a very basic answer below to help you on your way. However be aware that this answer is not necessarily the best way to go about solving your problem, nor is it … Read more