Assuming #lf# contains the appropriate linefeed/carriage return combo for your OS....
($|#lf#)[^#lf#]*<00>[^#lf#]*(#lf#|^) Beginning or a linefeed, not linefeeds, your string, not linefeeds, end or linefeed. I may have reversed the $ and ^ (beginning and end of string). --Ben Doom Ian Skinner wrote: > How can I return the entire line of characters that contains a certain > pattern, "<00>" in my specific case. > > TIA > Ian > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1087 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
