Jump to content

Regex and List of Javascript Links


Recommended Posts

Hello,

I'm trying to write a code who access one page containing several links and select some of these links by string using this regex ( ^[0-9]\1,10}\$ ) and print on notepad. These urls are in javascript and using the funcition onclick to compose the url.

Like this.


<a href="javascript:void(0)" title="nothing" onclick="javascript:nameoffunction(codeofregex, year, othercodebutwithoutthefirstdigit,firstdigit)">

Example


<a href="javascript:void(0)" title="" onclick="javascript:procedure(555555, 2016, 123456,0)">

Anyone could help me?

Kind Regards

Antonio Cesar

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...