Cloze type to basic type?

Hi, I have thousands of cloze cards in the form: Question? {{c1::Answer.}}
I’d like to convert all of them from cloze to basic cards, such that
“Question?” is mapped to front.
“Answer.” is mapped to back.

Is it possible?

Thanks

  1. File>Create Backup
  2. Select all the cards
  3. Notes>Find & Replace, all fields + regular expression, find:
(.*)\{\{c1::(.*)\}\}

replace with

$1|$2
  1. Select all the cards, and Notes>Change Notetype. Change to the Basic notetype, and map the first field to both front and back, so you get two copies of it.
  2. Find & replace, this time limit to the Front field. Find:
\|.*

Replace with nothing
6. Again for the back field, this time find:

.*\|

and replace with nothing.

2 Likes