SkillAgentSearch skills...

TashkeelRemover

Quick Javascript RegEx to clean Arabic texts from diacritics.

Install / Use

/learn @hubail/TashkeelRemover
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TashkeelRemover

Just a quick Javascript RegEx to clean Arabic texts from diacritics.

As demonstrated in the included html file, the magic is only with this line

str.replace(/[\u064b-\u064f\u0650-\u0652]/g, "")

It identifies two Unicode ranges of diacritics, and well, removes the matched characters.

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated6y ago
Forks3

Languages

JavaScript

Security Score

60/100

Audited on Dec 19, 2019

No findings