php - regepx - odd whitespaces in string -
i'm doing regexp on strings , in pattern match whitespaces \s
but in strings experience strange spaces.. when converted hex a0
how convert strange spaces normal space can detected regexp , both ,
\s
?
when string presented utf8 a0
chars represented �
input in hex
a03535a03832a03834a03135a02da053452e6e723aa0444ba03132a03638a03336a03933
input string
55 82 84 15 - se.nr: dk 12 68 36 93
a0
representation of
- non-breaking space.
you can match with:
[\s\xa0]
Comments
Post a Comment