How to use substring() with Import.io?
I'm having some issues with XPath and import.io and I hope you'll be able to help me. :) The html code: <a href="page.php?var=12345"> For the moment, I manage to extract the content of the href ( page.php?var=12345 ) with this: ./td[3]/a[1]/@href Though, I would like to just collect: 12345 substring might be the solution but it does not seem to work on import.io as I use it... substring(./td[3]/a[1]/@href,13) Any ideas of what the problem is? Thank's a lot in advance! Try using this for the xpath: (Have the field selected as Text) .//*[@class='oeil']/a/@href Then use this for your regex: ([^=]