need a regex code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hunterhp
Forum Commoner
Posts: 46
Joined: Sat Jan 22, 2005 5:20 pm
Contact:

need a regex code

Post by hunterhp »

Hi, I was wondering, does anyone know a regex code to match a URL(<a href>)? I mean, a good regex, one that spots if it has javascript, if it has onclick, ect.

Thanks. I just want to learn from the regex code.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I've posted these codes in the last few weeks.
Post Reply