RERepalce(yourString,"set primary_assign_id = [:digit:]{3}","","all")

Should work, but has not been tested.


On Tue, 1 Feb 2005 12:57:51 -0500, Mickael <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I would like replace a portion of a string that is a SQL statement generated 
> by my users via an interface that I have created.  I have never used Regular 
> Expressions but from what I have heard about this task sounds like a 
> candidate.
> 
> I would like to update a SQL statement that is generated by my users there is 
> a portion of the string that says "set primary_assign_id = 123" that I would 
> like to remove the problem is that I am not sure what the number is but I 
> know that it always three numbers.
> 
> How can I do this?
> 
> Regards,
> 
> Mike
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to