Javascript Regex ที่ควรเก็บไว้ June 7, 2016April 26, 2022 Devil Javascript Remove tag <a> txt.replace(/<a\b[^>]*>(.*?)<\/a>/i,"") Remove only tag <a> txt.replace(/<a\b[^>]*>/i,"").replace(/<\/a>/i, "");