yep, or try:
<td width="90"><input type="button" value="Edit User"
onclick="setFormValue('edit', '\d*')"></td>
sebb wrote:
On 10/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote:
Hi All,
I'm trying to get number 300012 from the following string:
<td width="90"><input type="button" value="Edit User" onclick="setFormValue
('edit', '300012')"></td>
And I use the following expression, but it doesn't work:
<td width="90"><input type="button" value="Edit User" onclick="setFormValue
('edit', '(.+?)')"></td>
Could somebody say me, what's wrong and which's correct sytax.
( is a meta-character - it needs to be escaped if standing for itself.
Rather than using ".", digits can be matched with "\d".
The last part of the RE should be:
\('edit', '(\d+?)'\)"></td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]