[Fixed]-Python (django) regex limit result not working

1👍

The spec is all characters except white-space and capitalized characters.

You can simply use Negated Character Class. In your case it will be [^\sA-Z]. This will match all characters except whitespace and Upper Case alphabets

👤Rahul

Leave a comment