I am trying to combine all alphanumeric characters with a regular expression except underscore. I am currently using r"^[a-zA-Z0-9]*", but I was wondering if you can use \wand exclude _.
r"^[a-zA-Z0-9]*"
\w
_
Thank!
Yes, like this: [^\W_]
[^\W_]
Where \Wopposite\W
\W
Source: https://habr.com/ru/post/1541688/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1541683/how-to-get-inline-blocks-to-sit-side-by-side&usg=ALkJrhjQUZxbE8tUrsNpo9lbmg1ORBfcHQASP.NET MVC AjaxForm not updating partial view properly - asp.net-mvcУдаленный агент Bamboo: HTTP 404 по запросу отпечатка пальца - continuous-integrationWhy does containsKey () Map only call hashCode ()? - javaenvironment variables with capistrano 3 - capistrano3How to replace UserPasswordAuthenticationFilter in Spring Security - javaapply the verb to the sub-matrix, in place? - jCannot get lexers.PythonLexer () from a Kivy application created using PyInstaller - pythonjava ArrayList removes an object during iteration - javaHTML input field within mathjax tex equation - htmlAll Articles