Regex - Javascript RegExp Works in online testers, but not on actual page

September 6, 2013 – 11:09
Made Gintoki on the Online Fighter GetAmped 2! (Will work on

I have the following Data:

Tracking Code

Sellers Shipping Note:
Tracking Number:
document.write('Close window')
I am using the following Regular Expression to extract a portion of that data:

var reg = new RegExp(/((.|\n)*)Tracking((.|\n)*)/mgi); var tracking = data.match(reg); console.log(tracking[0]); This regular expression works on the following online tester tools:

However, when used on my page, it does not return anything...

Anyone have any ideas?

Before anyone asks:

  • I have ensured that the input data is correct
  • I cannot input this html into the dom to parse for technical reasons (I must use regex)

Thank you in advance.


http://www.uadreamsreview.com/

Source: stackoverflow.com

Moonlighter Media Make Money Online - 97 Real Companies That Pay You To Work In Your Pajamas
eBooks (Moonlighter Media)

I actually found one online

2007-09-13 20:22:12 by bk40

I knew i was having problems. i was having more and more arguments with my wife. troubles at work. couldnt focus on the kids. really, it was for the kids sake that i made myself find a therapist. i spent time trying to find someone with an actual Doctoral Degree in psychology from an established School (Harvard) thinking that would be important.
now, 18 months later, i dont know if therapy was such a good idea. seemed to cause more problems than solve any.

Fieldbus for steam-drain control  — InTech
Ultimately, when you minimize signals, you improve the overall efficiency and performance of the network.

DVG 2K Games Sid Meier's Civilization V: Gold Edition [Online Game Code]
Digital Video Games (DVG 2K Games)
The Estate Agent
TV Series Episode Video on Demand ()
B8594 MyLUX Unique Limited Close-Out High Quality Women/Girl Fashion Designer Work School Office Lady Student Handbag Shoulder Bag Purse Totes Satchel Clutches Hobos (KHAKI)
Apparel ()
  • Synthetic
  • Fabric lining
  • This trendy hobo can be stuffed with daily essentials.
  • NOTE: Due to differences between monitor displays, actual color may vary slightly from image.
  • L 16 * H 9.5 * W 6.5 ( 6.5 D )
Wholesale Electrotherapy (1) - Pair = 2 Universal Lead Wires. DOES NOT FIT EMPI OR PROSPERA DEVICES! Works with InTENSity Select line, Twin Stim Line, and many other imported devices that are private labeled. Message us if you are not sure with your manufacturer and model name. SOLD AT BELOW WHOLESALE COST BECAUSE OF THE MODEST POSITIVE MARGIN ON THE AMAZON 'SHIPPING CREDIT' PAID TO US VS. OUR ACTUAL FIRST CLASS SHIPPING COSTS!
Health and Beauty (Wholesale Electrotherapy)
  • 1/Pair = (2) Universal Lead Wires
  • Compatible with many devices including InTENSity Select.
  • Does not fit any EMPI or Prospera Devices!
  • Works with InTENSity Select, Twin Stim lines.
  • Works with many other private labeled, imported devices!

Related posts:

  1. Actuator Sensor
  2. Actuators Melbourne
  3. Actual Animal House