User Tools

Site Tools


regex

This is an old revision of the document!


Regular Expressions (Regex) for Japanese

Expressions below provided by Hoyt Long. Download as a text file by clicking the link in the tab.

jpn_reg.txt
HTML TAGS: <[^<]+?>
 
WORD1 OR WORD2: 学校|學校
 
SENTENCE: [^!?。]*[!?。」]
 
QUOTATION: 「[^」]*」
 
ALL HIRAGANA: [ぁ-ゟ ]+  
 
ALL KATAKANA: [゠-ヿ]+   
 
ALL KANJI: [\u4E00-\u9FEF]
 
METAPHOR (?): .{3}(のように|みたいに).{3}
regex.1655823715.txt.gz · Last modified: 2022/06/21 15:01 by prcurtis