Skip to content

About

Quick Javascript RegEx to clean Arabic texts from diacritics.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Quick Javascript RegEx to clean Arabic texts from diacritics.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages