Maybe something like:

<INPUT([[:space:]]+[^M][[:alpha:]]+="?[^" ]*"?)*[[:space:]]*>

It's not perfect, but it worked on a couple of really rudimentary tests I
just ran.

-R

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 17:37
To: CF-Talk
Subject: RE: find inputs with no maxlength


> Does anyone know a way to use CF Studio to search through a
> project and find <input> fields without a maxlength attribute
> set? Would be a lot easier if CF could tell me where they are
> rather then for me to open each page and look.

You can use regular expressions in the Extended Search screen in CF Studio.
I'm lousy at writing regular expressions, so I'll leave it at that, but it
shouldn't be too hard to write the one that you want.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to