P
Paul Lautman
I have the following string in a variable:
'\074a href="" onClick="pl_go(64);return false;">James T Kirk\074/a>',
'\074a href="" onClick="pl_go(64);return false;">thecaptain\074/a>',
'\074a href="" onClick="pl_go(64);return
false;">[email protected]\074/a>'
(there are 3 newlines in there).
Is there a simple (possibly regex?) way to split this out to an array to end
up like:
elem[0] = 64
elem[1] = 'James T Kirk'
elem[2] = 'thecaptain'
elem[3]= '(e-mail address removed)'
TIA
'\074a href="" onClick="pl_go(64);return false;">James T Kirk\074/a>',
'\074a href="" onClick="pl_go(64);return false;">thecaptain\074/a>',
'\074a href="" onClick="pl_go(64);return
false;">[email protected]\074/a>'
(there are 3 newlines in there).
Is there a simple (possibly regex?) way to split this out to an array to end
up like:
elem[0] = 64
elem[1] = 'James T Kirk'
elem[2] = 'thecaptain'
elem[3]= '(e-mail address removed)'
TIA