Python Regular Expression for Extrating URL -



Python Regular Expression for Extrating URL -

i'm working on regular look , wondering how extract url html page. want print out url line:

website is: http://www.somesite.com

everytime link found, want extract url there after **website is:** help appreciated.

will suffice or need more specific?

in [230]: s = 'website is: http://www.somesite.com ' in [231]: re.findall('website is:\s+(\s+)', s) out[231]: ['http://www.somesite.com']

python expression

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -