JAVASCRIPT regexp
- by Parhs
Hello!
I have some hidden inputs like this
I would like somehow to replace the [1] with a number that i want (index)
I aint lazy but i am trying to find a good way to do this...
a solution would be a replace of exam.normals[1] with exam.normals[+ index +] but i should substr the whole string first....
With regexp i dont know how to do the replace. good...