Question: i need to find inline javascript with php regex. I can find external script, but not inline, can anybody help me? 

Here is my pattern for external:

```
"/<script(.*?)src(.*?)>(.*?)<\/script\s*>/smi"

```

Any ideas?

Answer: 
You need to find all those cases where inline script can be used (i.e. all listener functions onClick, onBlur, onMouseDown, onMouseUp, on...)).
```
"/<script[^\>]*>(.?)<\/script>/si"

```