Forums > MaxMSP

jit.str.regexp QUESTION

August 21, 2008 | 12:48 am

Hi List,

I am trying to filter images and websnapr from a xml, but can’t figure out the following…:

I have the search as

jit.str.regexp @re src="[\w|/|:|?|.|=|&]*?\.(?:jpg|gif|png|htm|com|html|php)"

all works well, but I also want to include .co.uk… but don’t know how… Help would be much appreciated … thanks
I tried
jit.str.regexp @re src="[\w|/|:|?|.|=|&]*?\.(?:jpg|gif|png|htm|com|html|php|co.uk)" but no luck

please help


August 21, 2008 | 12:53 am

Actually would be nice to filter everything between

src=" nnnnnnnnnnnnnnnnnnn"

cheers


August 21, 2008 | 10:39 pm


August 22, 2008 | 9:29 pm

thanks a lot ej. works just fine…

regards


Viewing 4 posts - 1 through 4 (of 4 total)