Facebook Facebook Commerce Instagram Social Media

Remove HTML Tags Regex for Facebook Catalog

In order for Facebook to approve your catalogue for Facebook Shop or Instagram Shopping, you need to ensure that you remove HTML Tags from the description of the product items.

To remove HTML tags from Facebook Catalog, go to

Catalog -> Data Sources -> Settings

Under Data Feed Rules, click on Add Rule:

Screenshot-2021-06-09-at-2-57-37-am

In the Column field, select rich_text_description from the dropdown. In the Existing value field, add this Regex Rule to replace HTML tags: <[\/]*a[^\>]*\>

Screenshot-2021-06-09-at-2-57-48-am

Now you can request to update your feed again, and it should update the feed removing all html tags and your catalogue should not show any errors.

Did this help you? Mention in the comments below!

One thought on “Remove HTML Tags Regex for Facebook Catalog

Leave a Reply

Your email address will not be published. Required fields are marked *

Zo

This website is handcrafted with these tools:

  • Underscores
  • Barba.js
  • PHP