in reply to Re^5: Regex Help
in thread Regex Help

I may be misunderstanding the specification, but I believe he wants to include non-digits but exclude newlines. I think the easiest way is [^\d\n], but I would prefer to explicitly include what is allowed. He mentioned in his OP the following separators: .-:. That being the case, the character class would be [.:-].


Dave

Replies are listed 'Best First'.
Re^7: Regex Help
by AnomalousMonk (Archbishop) on Mar 25, 2013 at 19:00 UTC