fran 19 Posted October 30, 2011 Report Share Posted October 30, 2011 Can anyone tell me how I can remove the dashes in the telephone number Just for one site in my bot. Here is the Url, it is the only that wants numbers without dashes. http://gnosisarts.com/home/Free_Press_Releases Thank You Quote Link to post Share on other sites
theninjamanz 29 Posted November 2, 2011 Report Share Posted November 2, 2011 Lots of ways. My way is not a programming way. Add your telephone number to a list.Then add that item to another list using a replace function for the -.That gives you the telephone without the "-"Then set a variable to the list item to list position 1, that's your telephone number.Then select and change chosen. Probably do it with regex much easier. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted November 2, 2011 Report Share Posted November 2, 2011 set(#phone cleaned, $replace regular expression(#phone, "-", $nothing), "Global") Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.