On Wed, Feb 06, 2008 at 08:18:34PM -0800, m i l e s wrote:
> Hi,
> 
> If I have the following data:
> 
> ++++++++++++++++++++
> 
> Keyword,Visits,Pages/Visit,Avg. Time on Site,% New Visits,Bounce  
> Rate,Visits,G1,Goal Conversion Rate,Per Visit Goal Value
> user name,5,9.6,232.6,0.6000000238418579,0.0,5,0.0,0.0,0.0
> geode,4,2.25,114.25,1.0,0.0,4,0.0,0.0,0.0
> vegetable somevalue,4,3.75,61.75,1.0,0.25,4,0.0,0.0,0.0
> reallysome value, 
> 3,5.333333333333333,125.66666666666667,1.0,0.6666666865348816,3,0.0,0.0,0.0
> 
> ++++++++++++++++++++
> 
> And I wanted to delete everything after the first comma on each line  
> upto the /r.
> 
> What would my RexExp look like ?
> 

Here's one way to do it:

Find
^([^,]*),.*$

Replace
\1


Ronald

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to