I have a string like this '0x69313430303239377678(i1400297vx)'
I only want the value i1400297vx
and nothing else.
Is there a simple way for example using strip
method or I'm forced to use Regex,I'm not good at...
Someone could kindly help me?
I have a string like this '0x69313430303239377678(i1400297vx)'
I only want the value i1400297vx
and nothing else.
Is there a simple way for example using strip
method or I'm forced to use Regex,I'm not good at...
Someone could kindly help me?
This works, using split and strip:
'0x69313430303239377678(i1400297vx)'.split('(')[1].strip(')')
but a regex would be more readable!