Word Regex

From notebook

Revision as of 23:48, 6 May 2021 by Timtak (Talk | contribs)
Jump to: navigation, search

To remove questions? Before their answers. search box ^13*\? replace box ^13 (leaves only "Before their answers")

([A-z])([!A-z, ]*^13) Replace \1placemarker\2 Puts "placemarker" between English and non English. a regex explanation site

To convert word cards to tests Find ^t Replace ^p (wildcards and sounds like OFF) Find ^13([!A-z]) (all Japanese on a new line) Replace \1 (the same Japanese after a space not a new line) Find ^13([A-z]) (all English on a new line) ^13=\1 (the Same English after a equals sign on a new line) Add in the numbers by hand immediately after the equals signs Find ([0-9]) ([A-z]) Replace \1#\2 Find #*([!A-z, ]) Replace #\1 to remove ローマ字 of Japanese if need be

Personal tools