The Syndk8 - Black Hat SEO Paradise
Fantomaster - Industrial Strength Black Hat SEO Tools
Affiliate Earners: Affiliate Programs
Home
Help
Search
Login
Register
RSS for SEOIdiot
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 10:20:46 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home (Index)
Level 2 Cache: Speciality Items
Regex
Extract all hrefs
Pages: [
1
]
« previous
next »
Print
Author
Topic: Extract all hrefs (Read 1682 times)
thedarkness
Lifer
Offline
Posts: 585
Extract all hrefs
«
on:
April 21, 2007, 09:26:17 PM »
<\s*a\s+[^>]*href\s*=\s*[\"'](.*?)[\"'>]
Logged
"I want to be the guy my dog thinks I am."
- Unknown
perkiset
Olde World Hacker
Administrator
Lifer
Offline
Posts: 9896
Re: Extract all hrefs
«
Reply #1 on:
April 22, 2007, 11:43:21 AM »
That's tight TD.
Logged
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Caligula
Rookie
Offline
Posts: 39
Re: Extract all hrefs
«
Reply #2 on:
April 24, 2007, 04:44:59 PM »
Here is the one I use... I wrote it this way because I was hitting a page that had their paid ads strung with a numbered id... so it will most likely shave off anything that starts with numbers... but what the hell...
Code:
'/<a href="(http:\/\/[^0-9].+?)"/'
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Level 1 Cache: General Discussion
-----------------------------
=> Init() - New Member Introductions
=> NEW BOARD: The n00b Zone
=> Callback Routines
=> Recovered Sectors
=> freemem() & Garbage Collection
=> All Things General Tech
=> All Things Android
=> All Things Apple
=> All Things Database
=> All Things Microsoft
=> All Things *nix
-----------------------------
Level 2 Cache: Speciality Items
-----------------------------
=> AJAX
=> ASP & .NET
=> C/++/#/Objective, Java, ObjectPascal
=> CSS, HTML & SEO, Cloaking
=> JavaScript
=> Music Technology
=> PERL
=> PHP
=> Obscurites, Curiosities & Arcanity
=> Regex
-----------------------------
Frameworks, Applications & Projects
-----------------------------
=> phpMyIDE
=> The iPhone SMF Theme Project
=> SMF
-----------------------------
Retired Boards
-----------------------------
=> ColdFusion
=> phpMyIDE
=> SalesForce / Apex
=> Javascript Code Repository & Examples
=> PHP Code Repository / Examples
Perkiset's Place Home
Best of The Cache
phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's
Pinkhat's Perspective
cache
mart
coder
programmers
ajax
php
javascript
Loading...