find . -type f -name "*.html" -exec sed -i \ 's|\(<form[^>]*method="post"[^>]*>\)\({% csrf_token %}\)\?|\1{% csrf_token %}|g' \ {} \;