and I would like to match consecutive hyphens while still allowing single hyphen. I have tried but I do not know how to add something like [\-{1}] into my expression. To clarify my regex should match -- but not -.[^0-9a-zA-Z\-]
2005-01-05 Janitored by Arunbear - added code tags, as per Monastery guidelines
In reply to basic regex help please by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |