Regular Expression Question

  • From: james.homme@xxxxxxxxxxxx
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 8 Oct 2007 15:22:08 -0400

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. I
want to represent everything from the beginning up to the new line. I think
I 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

Other related posts: