Discussion:
[General] Webboard: Section regex format
b***@mnogosearch.org
2016-03-04 14:17:26 UTC
Permalink
Author: Julien D.
Email: ***@1-clic.info
Message:
Hello,

I'm trying to retrieve the content of a <div> element in a Section, but can't get it
to work.

What I want to get :
<div id="myid">(the stuff i want)</div>

The problem is, the stuff i want may contain nearly anything (but especially other
html tags, like links). I tried this :

Section text 1 2048 '<div id="myid">(.*)</div>' "$1"

But it doesn't work as it doesn't stop on the first </div> element.

Any idea of a workaround to get it working ?

Thanks.


Reply: <http://www.mnogosearch.org/board/message.php?id=21749>

Loading...