I'm asking the question for once!
Say I have the expression @[^a-zA-Z0-9_-]@ that matches anything other than the characters specified. I also want spaces to be allows, including \n, \t, etc. I've tried adding a simple space into the expression such as @[^a-zA-Z0-9_- ]@, but that doesn't seem to work.
Anyone know how to do this? I could just match any disallowed characters, but I'd rather go this way.
Thanks,
Mark(us).
Say I have the expression @[^a-zA-Z0-9_-]@ that matches anything other than the characters specified. I also want spaces to be allows, including \n, \t, etc. I've tried adding a simple space into the expression such as @[^a-zA-Z0-9_- ]@, but that doesn't seem to work.
Anyone know how to do this? I could just match any disallowed characters, but I'd rather go this way.
Thanks,
Mark(us).
Comment