Welcome to openkapow Sign in | Join
.

regex extraction

  •  11-27-2007, 10:54 PM

    regex extraction

    i have a string "Ans : None of the products are worth buying. Best to leave all of them.
    Query Answered On Tue 27th Nov 2007"  i want to extract two substrings from this single string

     1) first substring would start from "None" to "them".

    2) second substring would start from None to 2007 (staring from "None" till end)

     i am unable to create regex for this operation, would appreciate any help. even if someone can point to tutorials for regex(type used in kapow) would appreciate more if some link to regex tutorial is provided.

     

     

     

View Complete Thread
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy