DavidR
7
@ akshayk29
Please modify your post (button to the right of your post), and remove the image link as I did in my post and in your quoted text, there is no need to repeat the image every time of the topic gets very long.
However in answer to your question, the answer is NO as there are too many permutations for ads URLs. This URL mask is poorly constructed, not likely to be very effective/efficient and is likely to trap sites that have nothing to do with adverts, those with domain names beginning with ads.
Ads blocking is a specialist task and for that most browsers have ad blocking built in or you can use an extension, AdBlock Plus for firefox. Or use a HOSTS file manager they are much better at this sort of thing.