quote:
Originally posted by RaceProUK
quote:
Originally posted by J-Thread
/^(.*)(\xA0\{(.+)\})$/ig
Man, I really need to learn Regex! That makes no sense to me at all.
Edit: Actually, it does make sense to me. I think I may end up using that myself, but maybe with less parenthises like /^.*\xA0\{.+\}$/ig, which should also work.
The brackets are needed, they group the stuff that's to be returned in the array (see first post).