KahGanyshancy
New Member
I need a regular expression that matches UTF-8 letters and digits, the dash sign (\[code\]-\[/code\]) but doesn't match underscores (\[code\]_\[/code\]), I tried these silly attempts without success:
- \[code\]([\w-^_])+\[/code\]
- \[code\]([\w^_]-?)+\[/code\]
- \[code\](\w[^_]-?)+\[/code\]