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=RV
JP
Archive: http://www.houseoffusion.com/groups/RegEx/me
ssage.cfm/messageid:1087
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
a>
Unsubscribe: http://www.houseoffusion.com/cf_lists/u
nsubscribe.cfm?user=22184.15789.21
|