A question about the generated data

If I use pytorch to generate a data
………………
25558290159175134183***432631828857***345418473182708965577129101516406472191919574089
……
if I want to limit the scope of***4326318288***in the conditions of the generated model, how should I limit it?E.g 3456239452<4326318288<5632845623