RE: Making A Giftcard Generator - Any Requests? 09-11-2020, 10:03 PM
#35
Made this simple random code generator, it works based on the Regular Expression(Regex) pattern you feed to it.
#!/usr/bin/python
from xeger import Xeger
import itertools
x = Xeger(limit=10)
for i in itertools.repeat(None, 100):
print(x.xeger("RegexHere")+",")
#!/usr/bin/python
from xeger import Xeger
import itertools
x = Xeger(limit=10)
for i in itertools.repeat(None, 100):
print(x.xeger("RegexHere")+",")

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)