Want to get rid of unwanted comments with links on Facebook? Take advantage of Auto-moderation and let NapoleonCat take care of it for you. All you have to do is create a rule for it.
When creating a rule for a selected Facebook profile, set the message type to Organic Comment and condition to Containing link.
Go straight to defining the action of the rule on the platform, you can skip the Trigger. Choose automatic deletion or hiding, depending on your needs. Remember that deletion is a permanent action that cannot be undone.
In the next steps, you can specify Inbox actions, notifications, or schedule. More about it here.
Finally, save the rule.... and you're done!