I have this like:
javascript:ColdFusion.Window.show('theformats');ColdFusion.navigate('exportformats.cfm?id=1900067&expformat=bibtex','theformats');
Let's split this into 2 parts:
1) 'exportformats.cfm?id=1900067&expformat=bibtex' 2) all the rest, left and right of it
What the BEST way in Python to get 1) given that 2) never changes?
So far, I have tried "finding" [ColdFusion.navigate('] in the string and slicing from there until [','] but I would really like to learn how to concoct the very best RegEx for it and do so in Python, please.