regex
<[a-z!\/?][^>]*>/gi, [/ /gi, " "] what does this mean??
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Jan 3, 2015, 3:54 AM EST
VulpesRank #55 · 29.2K reputationPosted Jan 3, 2015, 9:19 AM EST
Also, if you take the part after the comma and ignore the surrounding [], then it's a regular expression which is replacing non-breaking space characters (unicode 160) with ordinary spaces (unicode 32).