
Click for bigger and +300 more thingies.
Classic tattoo flash 1.
BTW, I've still not found a Flash animator in the Netherlands who wants to talk to my students this coming Monday afternoon. Any clog-wearing Flash people online today?
But being in manchester puts a halt to the whole thing
(,
Tue 14 Dec 2010, 11:59,
archived)
As a TJ, are there any Dreamweaver monkeys around who can help me with a "using regular expressions in search and replace" issue?
I've got onClick="javascript: pageTracker._trackPageview('XXXX');" dotted around thousands of pages of website and I need to replace it with onclick="_gaq.push(['_trackEvent', 'XXXX', '<?=$name_id;?>']);" where the XXXX bit remains the same. Anyone know what the syntax is I need to use? I'm thinking I need to escape a bunch of characters but nothing's working so far :(
(,
Tue 14 Dec 2010, 12:02,
archived)
I've got onClick="javascript: pageTracker._trackPageview('XXXX');" dotted around thousands of pages of website and I need to replace it with onclick="_gaq.push(['_trackEvent', 'XXXX', '<?=$name_id;?>']);" where the XXXX bit remains the same. Anyone know what the syntax is I need to use? I'm thinking I need to escape a bunch of characters but nothing's working so far :(
edit
this works for me using regexr (http://gskinner.com/RegExr/desktop/):
match expression: onClick="javascript: pageTracker._trackPageview\('([A-Z]+)'\);"
replace expression: onclick="_gaq.push(['_trackEvent', '$1', '<?=$name_id;?>']);"
presuming that the XXXX bit is 1 or more alphas
(,
Tue 14 Dec 2010, 12:33,
archived)
this works for me using regexr (http://gskinner.com/RegExr/desktop/):
match expression: onClick="javascript: pageTracker._trackPageview\('([A-Z]+)'\);"
replace expression: onclick="_gaq.push(['_trackEvent', '$1', '<?=$name_id;?>']);"
presuming that the XXXX bit is 1 or more alphas

