I am trying to dynamically add a regular expression to an html input text field also created dynamically, using the following, but which does not work:
text.s