About Using Regular Expressions in Django Querysets
You can capture regular expressions within strings using this technique:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Then in the template you can read the twitter_username
as follows:
1 |
|
Tips and Tricks Programming Databases Django 4.2 Django 3.2 Django 2.2 PostgreSQL Regular Expressions
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.