javascript – How to autocomplete an input search in django

I’m working on a website with django which gives the assessment of data quality. In this project the user can upload a csv, XML, json, html files. So I’m trying to generate regular expressions from a list of strings to verify errors in string type errors .. can you orient me to do that please?