View Full Version : Anyone know regular expressions?
Alan92RTTT
04-16-2012, 07:58 AM
If you do I need help making on to match these
../../../20000929143543im_/http__/www.3000gt.com
../../../20050417211045im_/http__/3000gt.com/
../../../20061207173241im_/http__/3000gt.com
DrGonzo
04-16-2012, 09:50 AM
Take a look here:
JavaScript Lab - Tools - JS Regex Generator (http://www.jslab.dk/tools.regex.php)
Alan92RTTT
04-16-2012, 10:02 AM
OOO that looks like the ticket.
Saving this here for later. /\.\.\/\.\.\/\.\.\/.*?\/http__\/3000gt\.com\//
We'll see how that works when I get home.
DrGonzo
04-16-2012, 11:15 AM
Yeah it's a pretty good generator. Only had issues with it once and that was due to a very complicated regex statement that took my developers a couple hours to figure out....LOL
DocWalt
04-16-2012, 11:23 AM
Ewwww regex.
stealthify
04-16-2012, 06:44 PM
OOO that looks like the ticket.
Saving this here for later. /\.\.\/\.\.\/\.\.\/.*?\/http__\/3000gt\.com\//
We'll see how that works when I get home.
From what I can tell, that will only work on the 2nd one.
Try this:
(?:\.\.\/){3}(?:[0-9]{14}im\_\/http\_\_\/)(?:www.)?(?:3000gt\.com\/?)
Powered by vBulletin® Version 4.2.3 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.