hello i need to use this
<div id=res>(.*?)</div>
in eregi() but it gives me REG_BADRPT, could somebody help me please?
it should return the contents of the tag
thanks much
excultus wrote:hello i need to use this
<div id=res>(.*?)</div>
in eregi() but it gives me REG_BADRPT, could somebody help me please?
it should return the contents of the tag
thanks much
You could try escaping the star and/or the question mark like below. The error goes away, but you still need to test it.