Ah, the good old black satanic art of reg ex - almost as reliable as the Jubille line in rush hour, and twice as infuriating....assume nothing!
Just my own two pennorth : I've found that putting .*, or .+ or even .? inside a tag in regex to be a bit unpredictable It might work better if you use [^>]* instead - i.e. "anything except a closing tag" So that'd make it <img[[:space:]]+[^>]*alt="([^"]+)"[^>]*> Make sure you use REReplaceNoCase aswell, instead of just REReplace Also, the POSIX [[:space:]]+ will match tabs and newlines aswell as just space characters That one should work fairly well. Cheers Alistair Senior Technical Developer ------------------------------------------ HEADSHIFT >> www.headshift.com T: 020 7357 7358 ------------------------------------------ smarter > simpler > social > -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
