Today at 8:41am, Ryan Bowman said: >I need a regular expression that will only match filenames with NO >periods in them. My attempts so far don't seem to work at all, in the >least. Can someone give me a hint, please?
Well, if the only requirement is that it match a string that has no periods in it, I'd use something like this: /^[^\.]*$/ That's perl syntax... tweak slightly for other languages. Mac -- Mac Newbold MNE - Mac Newbold Enterprises, LLC [EMAIL PROTECTED] http://www.macnewbold.com/ ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
