Thanks, I rolled my own.

--- In flexcoders@yahoogroups.com, joss <jossmin...@...> wrote:
>
> try looking at this site. as well as looking at lookahead and look behind you 
> may want to look at word boundaries and negation.
> http://www.regular-expressions.info/lookaround.html
> 
> Your problem is that you need to match anything valid that is NOT either of 
> big or small (ignoring case) because the validator gives a message on "no 
> match". it would be easier for you if the error was on match. 
> 
> so you either change your expression to match anything but those two words- 
> although that will not guarantee it is a valid filename unless you add more 
> conditions. Or you could abandon the validator altogther and do your own 
> validation which gives an error IF you find those words on their own- 
> probably much easier.
>


Reply via email to