If I understand correctly, this should do what you want: ^\s+ On Thu, Jul 17, 2008 at 2:56 PM, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> >I, for one, am having trouble understanding what you're trying to > >accomplish. I could probably help you if I understood the purpose/goal of > >your regular expression. > > > > Sonny, thanks for the help! > > I could't make that regex work for my particular problem. Probably because > I didn't explain it well enough. It looks like it's matching if there's any > spacing before characters on any line. > > I need to check a chunk of text and make sure it contains SOME kinda > characters on the first line. There cannot be any empty spacing on the first > line (c.returns,linefeeds, spaces, tabs, etc. > > The rest of the chunk can contain whatever, I don't care. > > My regex works, I just don't understand why I have to stick a \S in that > 2nd range []. > > Thanks! > > Will > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309255 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

