That simple? I can't believe it. Well, I have to because you people are the experts.
Thanks. Jim __________ Take back your shopping life at http://tinyurl.com/32rsxz----- Original Message ----- From: "Sina Bahram" <sbahram@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Monday, October 08, 2007 4:27 PM Subject: RE: Regular Expression Question
Just do .*\n That will grab everything 0 or more times, including the new line. if you don't want to include the new line, but want to go right up against it, then use parentheses like this: (.*)\n Take care, Sina -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of james.homme@xxxxxxxxxxxx Sent: Monday, October 08, 2007 3:22 PM To: programmingblind@xxxxxxxxxxxxx Subject: Regular Expression Question Hi, I tried and failed a few times to get this, but for some reason I am thick about regular expressions. I want to represent whatever might be on the current line. I don't care if the line is blank or if it has text on it. Iwant to represent everything from the beginning up to the new line. I thinkI want to include the new line, but I haven't thought that through yet. Is this how to do it? ^.*\n Thanks. Jim James D Homme, , Usability Engineering, Highmark Inc., james.homme@xxxxxxxxxxxx, 412-544-1810 "It's more important for me to start to do the right thing than it is to wait until I think I can do it just right." __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind