Re: More Regex for Newbies

2005-03-29 Thread Mike Lesser
I'm fairly new too, but s/\(.*\)//g Should work? Thanks David. The "g" sort of throws me, but I had The Epiphany last night. I'm still a little bit confused, but I'm making headway now. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: More Regex for Newbies

2005-03-28 Thread Offer Kaye
On Mon, 28 Mar 2005 18:07:20 -0500, Mike Lesser wrote: > Hi all. I have this strange relationship with Regex. I seem to be able > to get simple stuff accomplished, but in really brute-force ways, The answer from Charles will help you up with your specific problem. In addition, I heartly recommend

RE: More Regex for Newbies

2005-03-28 Thread Charles K. Clarkson
Mike Lesser wrote: : For example, if I have a string that goes like : :"Joe Shmoe (alphanumerics)" : : and I want to get the alphanumerics between the parens, It's like : pulling teeth, I think (i think..) what I want to do is match the : stuff that's _not_ between

RE: More Regex for Newbies

2005-03-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Mike Lesser wrote: > Hi all. I have this strange relationship with Regex. I seem to be able > to get simple > stuff accomplished, but in really brute-force ways, and I think I'm > missing some > fundamental aspect of its usage. I'm forced to chomp thru strings from > the > side like pac-man. It's l

More Regex for Newbies

2005-03-28 Thread Mike Lesser
Hi all. I have this strange relationship with Regex. I seem to be able to get simple stuff accomplished, but in really brute-force ways, and I think I'm missing some fundamental aspect of its usage. I'm forced to chomp thru strings from the side like pac-man. It's like I can do a simple match or