Hi Rosa,

<field column="description" xpath="/product/content"
regex="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[A-Z]{2,4}" replaceWith="" />

Shouldn't it be regex="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-z]{2,4}"?

<field column="source" xpath="/product/url" regex="http://(.*?)\\/(.*)" />

Example: url=http://www.abcd.com/product.php?id=324 --> i want to index source 
= abcd.com

Probably it could be regex="http:\/\/(.*?)\/(.*)"

I use a regex web tool:

http://www.regexplanet.com/simple/index.html

Koji
--
http://www.rondhuit.com/en/

Reply via email to