I want to use regex to match specified domain in my post content then remove it, this is my regex but i can't get it work
/<a[^>]+href[^(*domain.com)>]+>(.*)<\/a>/
i want to remove the a tag when specified domain occurred even if it was domain.com?a=something
or in any other format!
is that could be?