Suppose I have a String like gi|417072228|gb|JX515788.1|. I need to extract the digit part 417072228 out of it using python. How can I split that part from the string? Should I use regular expression?
Can anyone help me with this? Thanks in advance..
isdigitmethod.