Jump to content

Recommended Posts

Posted

saturday night job gurinchi question enti anodhu bhaiya.. eddho job kosam poraaduthunna.

 

i need a regex to get following output

 

input:
 
;x;y;z
;w;y;i,;result_set;l
;w;b;e
;a;e;i,;result_set;4
 
 
output
 
;x;y;z
;w;y;i
;w;b;e
;a;e;i

 

regex should be like We have to select anything that comes  before    ,;result_set   when ,;result_set   occurs zero or more times... 

 

  • Replies 43
  • Created
  • Last Reply

Top Posters In This Topic

  • tejak123

    15

  • ChampakDas

    7

  • puli_keka

    6

  • mukunda1

    4

Top Posters In This Topic

Posted

LTT
Start with this ^[\s\S]+?(,;resultset) .//

 

 

thanks for response..

 

needhi http://www.regexr.com/ lo test chesanu bhaiya avvaledhu.

 

nadhi work avthundhi ee site lo query lo error vasthundhi     (.*)(?=,;result_set) ... nuvvu oka cheyyi vesthey panaipothadhi :)

 

 

Posted

help

 

arey ninne raa pilstunnadu...help chey...nuvve HELP antey inkaa...T.gif

Posted

LTT
Start with this ^[\s\S]+?(,;resultset) .//


thanks for response..

needhi http://www.regexr.com/ lo test chesanu bhaiya avvaledhu.

nadhi work avthundhi ee site lo query lo error vasthundhi (.*)(?=,;result_set) ... nuvvu oka cheyyi vesthey panaipothadhi :)


Nenu system mundu Lenu phone lo rough ga type chesa.. Will do late night PST..
^[\s\S]+$ selects all the text from beginning to end.. Aa question mark greedy ani daani tarvatha unnadi encounter avagaane aagipothadi.. Prasthuthaniki inthe good luck :)
Posted

code antha codesend.com paste cheyi link isthadi. aa link ikkada paste cheyi. evaraina execute chesi neeku septaru.

Posted

code antha codesend.com paste cheyi link isthadi. aa link ikkada paste cheyi. evaraina execute chesi neeku septaru...//

 

Bhaiya.. naa code antey direct ga  original table data na.? sample data na.? original chudagaane konchem confusing ani indhulo pettanu

×
×
  • Create New...