By importing it as a column-width datasource.  :-)

However, if that's not an option, you could use a regex like this:

(^|#linebreak#).+?<20>.+?(#linebreak#|$)

To identify lines which match your criterion.  #linebreak# should 
contain whatever linebreak character(s) were used, obviously.  Use 
refind to return all pos/loc pairs, and use mid() to pull the actual line.

Not tested, YMMV, etc.

--Ben Doom

Ian Skinner wrote:
> How would one of you regex skilled people find the name on the line that has 
> a <20> in it, there maybe more then one line like this.
> 
>        Name               Type         Status
> 
>     ---------------------------------------------
> 
>     ISKINNER-SVR   <00>  UNIQUE      Registered 
> 
>     SMFNT          <00>  GROUP       Registered 
> 
>     ISKINNER-SVR   <20>  UNIQUE      Registered 
> 
>     ISKINNER-SVR   <03>  UNIQUE      Registered 
> 
>     SMFNT          <1E>  GROUP       Registered 
> 
>     INet~Services  <1C>  GROUP       Registered 
> 
>     IS~ISKINNER-SVR<00>  UNIQUE      Registered 
> 
>     ISKINNER       <03>  UNIQUE      Registered 
> 
>     ISKINNER-SVR   <01>  UNIQUE      Registered 
> 
> 
> 
> 
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> ---------
> | 1 |   |
> ---------  Binary Sudoku
> |   |   |
> ---------
>  
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message. 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271202
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to