<div dir="ltr"><div><div><div><div>Hello list !<br><br></div>I have a question for fox users !<br><br></div>Do you think it's possible to get the input of a form, and use it in a regular expression in order to replace a content ?<br><br></div>Example :<br><br></div>I would like to replace a variable word by great in a page. So I create the following form :<br><div><br>(:fox test:)<br>(:foxreplace target=Public.Test put=regex mark='/{$$word}/':)<br>(:foxtemplate "great":)<br>(:input text name='word':)<br>(:input submit post:)<br>(:foxend test:)<br><br></div><div>Of course, I could use the parameter put=string, but I need to include "word" in a regular expression. <br><br>Unfortunately it doesn't work. And I didn't find the good syntax.<br><br>So my question is : is there a good syntax ? Or maybe it's simply impossible to include a variable in the regular expression ?<br></div><div><br></div><div>Thanks. :-)<br></div></div>