I have this xml string
<aof xmlns="http://tsng.jun.net/jppos/conig/hello"><num>3</num><desc>addy02</desc><tpcs>5</tpcs></aof>'
I need to extract 5 using regex.
What I have done is:
regex = re.compile(r'tag+</.+>\s*(.+)\s*<.+>')
Where tag is 'tpcs' but its returning empty tag.
Can someone please help.