Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91133

Re: Extract email address from Java script in html source using python

References <CAAXuHoeJ-YMQDB85qLDJ_o+9CrsfwLvm9wuOaRtbSj-i9kBaFA@mail.gmail.com> <CAPTjJmqBDu0nB2u_mf7KMpFzxxJFUqB7o-7dJiGgu-xyOL2uzg@mail.gmail.com> <CAAXuHod4NH74+VK1EY78-vCOyiOA3879qp1uPqKOFit7qVE5sQ@mail.gmail.com>
Date 2015-05-24 00:36 +1000
Subject Re: Extract email address from Java script in html source using python
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.278.1432391822.17265.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, May 24, 2015 at 12:15 AM, savitha devi <savithad8@gmail.com> wrote:
> What I exactly want is the java script is in the html code. I am trying for
> a regular expression to find the email address embedded with in the java
> script.

Now you have two problems.

You can't write a regex that can interpret ECMAScript.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Extract email address from Java script in html source using python Chris Angelico <rosuav@gmail.com> - 2015-05-24 00:36 +1000

csiph-web