[Nottingham] Perl Regular Expression Query.

Martin Garton nottingham at mailman.lug.org.uk
Fri Jan 17 14:17:01 2003


On Fri, 17 Jan 2003, Robert Postill wrote:

> /@.*?@.*?@.*?@/

I think using just /@.*@.*@.*@/ will work.
You dont need the question marks, since * means match the preceeding
expression zero or more times anyway. (Note: I havent tried it!)

-- 
Martin