Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » dash regex regular expressioin string
Sorry, but there are no more tags available to filter with.
  • Question about regex in a specific pattern

    I wanna create a regex for a string can be with multi dash within a string optionally, 1. dash cannot place in first / last position 2. dash cannot be placed continously Acceptable string: happy1231, asfa12312-asdf, asdf-asdfs-f-d-d-d-d-d, asd7976-asdf-asdfsa-d Hope someone would give me a hand here. Thank you.
    Posted to Construction Advice (Forum) by matraville on July 5, 2008