Jump to content

Regex and List of Javascript Links

Recommended Posts



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)">


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

Anyone could help me?

Kind Regards

Antonio Cesar

Share this post

Link to post
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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.