[Answer]-Django MySQL Exact Word Match With iRegex Search

1👍

Remove the * from your regex.

query = Model.objects.filter(content__iregex=r"[[:<:]]{0}[[:>:]]".format(key))

Leave a comment