I'm looking for a pattern equivalent to \w, and which doesn't match numeric pattern. I cannot use [a-zA-Z] because I would like it to match japanese kanjis as well.
Is there a way to write something like [\w^[0-9]] ? Is there an equivalent of [:alpha:] in python regex?
[^\W\d]
Throw out non-word characters and throw out digits. Keep the rest.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With