⊗jsSpRECF 105 of 294 menu

Features of Cyrillic in JavaScript Regex

Cyrillic characters are not included in the \w group. To get them, you need to use a group in square brackets, like this: [а-я]. But even with this group, there is a problem - the letter 'ё' will not be included here. To include it, you need to do this: [а-яё].

Given a string:

let str = 'wйw wяw wёw wqw';

Write a regular expression that finds strings matching the pattern: letters 'w' stand at the edges, and between them - a Cyrillic letter.

Given a string:

let str = 'ааа ббб ёёё ззз ййй ААА БББ ЁЁЁ ЗЗЗ ЙЙЙ';

Write a regular expression that finds all words matching the pattern: any Cyrillic letter any number of times.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline