I’ve been using RemNote style single line front/back cards in my notes to automate flashcard creation on Anki, using the similarly named plugin for a while now.
Regex used: (Basic Note Type) ^(.*[^\n:]{1}):{2}([^\n:]{1}.*)
This is front :: This is back
Now, I want to add cloze cards such as:
Regex used: (Cloze Note Type) ((?:.+\n)*(?:.*==.*)(?:\n(?:^.{1,3}$|^.{4}(?<!<!--).*))*)
This ___ a card
This {{c1::is}} a card
But these get captured like Basic Notes on Anki:
Front: 这个项目由你来{{c1
Back: 全权负责 (quán quán fù zé)}}。
Does anyone understand regular expressions well enough to help me find a solution?