RegEx inside Xlobby, Q for Steven

V3 help and support questions

RegEx inside Xlobby, Q for Steven

Postby lar282 on Wed Dec 08, 2010 10:15 am

Hi
I'm getting the hang of regex so can fix all the spiders since Steven is busy as hell. I' stuck on single line vs multple line, carriage return, spaces and here's where I need help.

So Questions:
1/ Does XL support Multiple lines?
2/ If only single lines how do I fix line break and a space on a empty line? Like this

Source:
<h2>Storyline</h2>

<p>Strange lights descend on the city of Los Angeles, drawing people outside like moths to a flame where an extraterrestrial force threatens to swallow the entire human population off the face of the Earth.

<em class=

My try to ceate the plot(doesn't work, but works on a testwebpage)
<h2>Storyline</h2>

<p>(?<plot>.*?)


And If I try to put it o a single line (with a space on empty line), it doesnt work either
<h2>Storyline</h2>\n.*?\n<p>(?<plot>.*?)\n \n<em class=".*?">


HELP

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden