0

the scope selected by regex is too wide

I want delete

<

div> tag from html source in "item. "

here is the part of code .

//////////////////////////////////// SENTENCE

SENTENCE SENTENCE SENTENCE SENTENCE

///////////////////////////////////

div tag indicades too big space. i use regex module to delete "

<

div class="t_h">" and replace
like this

////////////////////////////// replace <div.+"> with
////////////////////////////

my intent is to select "

<

div class="t_h">"

but this selects...

<

div class="t_h">SENTENCE SENTENCE SENTENCE

it's too wide.

please tell me the way to select only "

<

div class="t_h">"

thanks.

by
1 Reply

Recent Posts

in Pipes