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




 

______________________________________________________________________
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