JavaScript『正規表現』

・スマホ向けフリック入力タイピングはこちら
※アプリのインストールが必要です。
・PC向けタイピングはこちら
タブレット+BlueToothキーボードのプレイもこちらがオススメです!
Webアプリでプレイ
投稿者投稿者marineいいね7お気に入り登録1
プレイ回数3519難易度(4.5) 1038打 英語
JavaScript 暗記用です
★情報元のサイト様★
「とほほのWWW入門」http://www.tohoho-web.com/www.htm
「MDN」https://developer.mozilla.org/ja/docs/Web
順位 名前 スコア 称号 打鍵/秒 正誤率 時間(秒) 打鍵数 ミス 問題 日付
1 あいかわようた 3593 プロフェッショナル! 3.7 95.3% 274.7 1038 51 32 2026/01/12
2 qqq 2680 すごいね! 2.7 98.9% 383.2 1038 11 32 2025/12/02
3 mh 2001 頑張ったね! 2.0 97.4% 505.2 1038 27 32 2026/01/20
4 mikaroko 1319 もう一歩! 1.3 96.3% 757.0 1038 39 32 2026/01/15

関連タイピング

問題文

ふりがな非表示 ふりがな表示
(Regular expression) Regular expression (new RegExp('abc','ig');) new RegExp('abc','ig'); (/abc/ig;) /abc/ig; (\n) \n (\t) \t (/[0-9]+/.exec('ab12');) /[0-9]+/.exec('ab12'); ('2:4'.match(/\d+/g);) '2:4'.match(/\d+/g); (new RegExp('ab+c').test('abcdef');) new RegExp('ab+c').test('abcdef'); (/word/gi.flags;) /word/gi.flags; (/word/gim.ignoreCase;) /word/gim.ignoreCase;
(/word/gim.global;) /word/gim.global; (/word/gim.multiline;) /word/gim.multiline; (/word/gim.unicode;) /word/gim.unicode; (/word/gim.sticky;) /word/gim.sticky; (/[a-z]+/i.source; new RegExp('[0-9]+','ig').source;) /[a-z]+/i.source; new RegExp('[0-9]+','ig').source; (const re=/123/g;re.test('abc123def'); console.log(re.lastIndex);) const re=/123/g;re.test('abc123def'); console.log(re.lastIndex); (['Jan','Feb','Mar','Apr','May'].filter(w=>/^M/.test(w));) ['Jan','Feb','Mar','Apr','May'].filter(w=>/^M/.test(w)); ('aA bB'.match(/[a-z]+/ig);) 'aA bB'.match(/[a-z]+/ig); (['Ja','Fe','Ma','Ap','Ma'].filter(w=>/^[^M]/.test(w));) ['Ja','Fe','Ma','Ap','Ma'].filter(w=>/^[^M]/.test(w)); (['ja','en','ru','fr','ar'].filter(w=>/(a|u)\b/.test(w));) ['ja','en','ru','fr','ar'].filter(w=>/(a|u)\b/.test(w));
など
('aa aa aa'.replace(/^a/gim,'aa');) 'aa aa aa'.replace(/^a/gim,'aa'); ('1/23/45'.match(/[0-9]+/g);) '1/23/45'.match(/[0-9]+/g); ('10 20 30'.replace(/0$/gim,'00');) '10 20 30'.replace(/0$/gim,'00'); ('00 000 0000'.replace(/\b0/gim,'1');) '00 000 0000'.replace(/\b0/gim,'1'); ('akb88 hkt88'.replace(/\d\B/gim,'4');) 'akb88 hkt88'.replace(/\d\B/gim,'4'); ('1 22 333 4444'.match(/\b\d{3}\b/g);) '1 22 333 4444'.match(/\b\d{3}\b/g); (console.log('dad mam'.replace(/(\w+)\s(\w+)/,'$2 $1'));) console.log('dad mam'.replace(/(\w+)\s(\w+)/,'$2 $1')); ('abc A_bc bbc'.match(/\b[a]\w+/gi);) 'abc A_bc bbc'.match(/\b[a]\w+/gi); (console.log('aaa\nbbb\rccc');) console.log('aaa\nbbb\rccc'); ('aa bb\ncc dd ee'.match(/bb[^]*cc/);) 'aa bb\ncc dd ee'.match(/bb[^]*cc/); (const str='#foo#';const re=/f/y; re.lastIndex=1;re.test(str);) const str='#foo#';const re=/f/y; re.lastIndex=1;re.test(str); (const url='https://xxx.domain.com'; console.log(/[^.]+/.exec(url)[0].substr(8));) const url='https://xxx.domain.com'; console.log(/[^.]+/.exec(url)[0].substr(8));
問題文を全て表示 一部のみ表示 誤字・脱字等の報告

marineのタイピング

オススメの新着タイピング

タイピング練習講座 ローマ字入力表 アプリケーションの使い方 よくある質問

人気ランキング

注目キーワード