Return char at the end of a string


#1

Greetings,

I’m having a minor issue with contributors ingesting metadata by copying and pasting from a Word doc used as worksheet. If they don’t pay enough attention the return character at the end of the line goes into Omeka. It gives problems with the “Search By Metadata” plugin. For instance, England–London and England–London followed a return carriage are considered two different places.

It’s easy to spot the offending items as they are nicely flagged up in “Simple vocab”, but I can’t figure which items needs editing ang going through the whole lot is labour intensive and time consuming. Resorting codes (alt + 0010 / alt + 0013 / &#10 / &#13) doesn’t seem to work.
Is there a way to search for a return character at the end of a string. Any suggestion would be massively appreciated

Alex