Regular Expressions 101

Community Patterns

Find and Highlight word (Arabic)

1

Regular Expression
ECMAScript (JavaScript)

/
((?:[\u0600-\u06ff])*(?:\u0639\u0645|\u0636)(?:[\u0600-\u06ff])*)
/
gi

Description

Find Arabic letters and highlight the whole words.

Submitted by M.Nizam - 8 years ago