I found this Regular Expression which only matches for valid coordinates.
^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$
(Which I found from here)
How do I negate it so it matches anything that isn't a valid coordinate? I've tried using ?!
but not matter where I put it, it doesn't seem to work
Edit: Edited the Regular Expression because I didn't copy it correctly