Instructions are in the code.
this isnt my full code no, A friend of mine wrote parts of it.
Tell me what you want it to do, and im sure I can code something nifty. And did you code this or not? Whats the purpose of the previous posted regex? Why did you use the /g modifier?
Is there an easier way of doing this?
if i may ask, why do u have /g in your regex:
??