- Joined
- Jun 18, 2007
- Messages
- 65,824
- Likes received
- 32,654
- Thanks received
- 10,042
- Location
- Your local branch
The spaces comeout as 0xa0 if the come from a 'real' space and 0x20 if the come from a
I put the XML through JTidy to get the DOM.
Never even know there were 2 types of space and the debugger clearly never knew the difference.
Recon i'm jusy going to replace all the 0x20 to 0xa0s
Cheers.
Yup, 0xa0 (aka 160) is the non-breaking space. Therefore,
Code:
[\s\xa0]-[\s\xa0]
should do what you want
