Ya know, you get soooo tired on a friday :) /#[^#]*#/ ("##[^##]*##" in CF)
Good weekend all! -- Scott Van Vliet Sempra Energy 555 W. 5th St., 21st Floor Los Angeles, CA 90013 Tel > 213.244.5205 Email > [EMAIL PROTECTED] "Hello Stupid, and welcome to your crappy computer." - Strong Bad, HomestarRunner.com > -----Original Message----- > From: Van Vliet, Scott [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 3:36 PM > To: CF-Talk > Subject: RegExp Question > > > I need to find all #someVariables# in a string, so I came up with the > following RegExp: > > /#.*[^#]#/ (Which in CF would be "##.*[^##]#) > > What the HELL am I doing wrong? This will find the first > occurence of the > "#" in a string, but will continue until it finds the last > occurence of "#" > - whereas I want it stop at the *next* occurence of "#". > > TIA! > > -- > Scott Van Vliet > Sempra Energy > 555 W. 5th St., 21st Floor > Los Angeles, CA 90013 > Tel > 213.244.5205 > Email > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > "Hello Stupid, and welcome to your crappy computer." > - Strong Bad, HomestarRunner.com > > > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists