From: "W. James" Date: 2009-12-26T12:25:08+09:00 Subject: Re: [ask]How to remove HTML part of a text Darmanto Lie wrote: > i'm using Hpricot to parsing html and my output is: > > Gr����e: 37 - 54
Ma& > szlig;tabelle > > does anyone knows how to get the string "Gr����e: 37 - 54" and remove > the rest of that string ? > > thanks "Gradhbbee: 37 - 54
"[ /^(.*?)"Gradhbbee: 37 - 54" "Gradhbbee: 37 - 54
"[ /^(.*?)(?=<)/] ==>"Gradhbbee: 37 - 54" "Gradhbbee: 37 - 54
"[ /^[^<]*/] ==>"Gradhbbee: 37 - 54" --