diagonal strikethrough

hello,
i am newbie with font editing and i trying to get this result (picture)
if i type 7,90 or 7,00 or 9,99 with slash at the end like: 7,90/ or 9,99/ i want to turn this slash into diagonal strikethrough
i think i have to create this strikethrough character first “strike_line_1” (many of them) depends on how many characters i have. so for 7,90 will be this character shorter then for 558,90/ then i have to create i classes for number maybe and then somewhere define lookup function like:

number number comma number number slash by number comma number number strike_line_2
number comma number number slash by number comma number number strike_line_1
or something like that but i am lost :confused:
i did this before in FONT 3 app on mac (with help) but here i have no idea how to do that :confused:
index of last two characters can by done in InDesign automatically by regex.
nahled.jpg

You’dd find it here: https://www.high-logic.com/fontcreator/manual13/fc_automatic_opentype_layout_feat_2_3_2_3.html?zoom_highlightsub=chain