Re: Regular Expression Help Please

  • From: "Bill Gallik" <BillGallik@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 8 Feb 2010 12:47:00 -0600

I'm not actually experienced with EdSharp, if  you use the Unix/Linux native ed 
command you could do something like this:

- add some unique character after the first occurance of ">" in each line as 
follows:
    s/>/>^

- then each everything up to the ">^" as follows:
    s/*>^/

I have no idea if EdSharp uses regular expressions similarly.

----
Holland's Person, Bill
- "Be careful about reading health books. You may die of a misprint."
- US Humorist, Mark Twain (1835 - 1910)
  ----- Original Message ----- 
  From: Homme, James 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Monday, February 08, 2010 9:47 AM
  Subject: RE: Regular Expression Help Please


  Hi Bill,

  I'm attempting to use it in EdSharp, which I think uses .Net regular 
expressions.

   

  Jim

   

  Jim Homme,

  Usability Services,

  Phone: 412-544-1810

  Skype: jim.homme

  Internal recipients,  Read my accessibility blog

   

  From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Bill Gallik
  Sent: Monday, February 08, 2010 10:45 AM
  To: programmingblind@xxxxxxxxxxxxx
  Subject: Re: Regular Expression Help Please

   

  Jim,

   

  Is this regular expression being used in an editor, a Unix/Linux command or 
some other manner?  

  ----
  Holland's Person, Bill
  - "Be careful about reading health books. You may die of a misprint."
  - US Humorist, Mark Twain (1835 - 1910)

    ----- Original Message ----- 

    From: Homme, James 

    To: programmingblind@xxxxxxxxxxxxx 

    Sent: Monday, February 08, 2010 9:10 AM

    Subject: Regular Expression Help Please

     

    Hi,

    I want to strip everything just up to the first greater than sign, but this 
expression is going past it to the next greater than sign. How do I change it 
so that it does what I want?

     

    \<td.*\>

     

    Thanks.

     

    Jim

     

    Jim Homme,

    Usability Services,

    Phone: 412-544-1810

    Skype: jim.homme

    Internal recipients,  Read my accessibility blog

     

     


----------------------------------------------------------------------------

    This e-mail and any attachments to it are confidential and are intended 
solely for use of the individual or entity to whom they are addressed. If you 
have received this e-mail in error, please notify the sender immediately and 
then delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: