I want to check for a specific word not in a given paragraph.
The following excluded words should not be in my paragraph.
<script>
<src>
<img>
I tried this regular expression and it worked only for one single line paragraph. It does not work for multiline paraghraphs.
"^(((?!^.*k(script|src|img)k)).*)*$";