Question

I used the XPath Fetch Page module to fetch a page and convert it to a bunch of nodes. One of the nodes has "2012-07-28 00:00", but the   appears as a space ("") in Yahoo! Pipes. I also entered the string here and it considers it a regular space, though.

How can I convert this non-breaking space to a regular space? I tried using the Regex module, but everything that I try putting in the "find" field does not match the non-breaking space.

I tried using "", " ", " ", but none of these work. Any suggestions?

Was it helpful?

Solution

Use Regexp module {replace: "\xA0", with: " "} to convert a non-breaking space to a regular space.

Note: This behavior is undocumented, so may be changed without notice.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top