Regex to find a string not inside xml tags?

Variable length lookbehind is not supported in most regex flavors. That looks to be the case here. Try this instead, to match all text followed by an opening tag instead of a closing one.

PHP won't let you use a lookbehind for this, but lookbehind wouldn't be the best tool for the job anyway. (It almost never is.) You should be able to solve the problem with just a lookahead. It will be a lot easier if you can make certain assumptions about the document structure.

For example, can you be sure the enclosing node is always named Rate, and that its child nodes will never have children of their own (attributes or elements)? In other words, you'll never see something like this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions