Categories Development Node.js Cheerio scraper, replace element Post author By admin Post date February 23, 2021 No Comments on Node.js Cheerio scraper, replace element let table = $('table'); if ($(table).has('br')) { $("br").replaceWith(" "); } Tags Cheerio, Node.js ← DOM selector excluding certain elements → How to print out requestQueue info (Apify) at run time Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment.