View Single Post
Old 12-09-2015   #2
tehehodi
Braaaaaaaap!
 
tehehodi's Avatar
 

Join Date: Dec 2008
Location: Fridley
Drives: '09 Silveraydo
Posts: 2,028
Send a message via AIM to tehehodi
Re: Computer haaaaalps

Apparently, Javascript doesn't support positive lookbehind. So this was devised with some help:

regFirstName = /(?==(.+)&)/;
regLastName = /(?=lastname=(.+))/;

but now I'm getting a comma such as ",testies" and ",mctesticles"
tehehodi is offline   Reply With Quote