No, not for a job, I just need to find a reg ex expression to find the values of the following expression:

xpath("/root/framework_root/framework_mg/controllers/controller/message-listener/@message/text()", "|")

basically its a function, you pass in two values, the xpath and then a delimiter. I need to get the value of the parameters. e.g.

  1. /root/framework_root/framework_mg/controllers/controller/message-listener/@message/text()
  2. |

Any ideas?

(I SUCK at RegEx, and I am hoping someone can show me the light!)