Jonathan~
Well, almost. I think you'll find that you need to embellish your
RegEx of ^(.*?), as ...
^(.*?),.+$
... before replacing it with \1
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
~Semper Fi, Mac!
On Feb 06, 2008, at 9:00 PM, Jonathan Lundell wrote:
On Feb 6, 2008, at 8:18 PM, m i l e s wrote:
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 ?
Would it be: [a-z, 0-9], ?
Thanks ahead of time.
find ^(.*?),
replace \1
The ? makes the * quantifier non-greedy.
--
------------------------------------------------------------------
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]>
--
------------------------------------------------------------------
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]>