I want to get the %tagname% from a file and copy them to a dictionary only tagname in python.
this will get you a list of tags
re.findall("%([^%]+)%", text)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With