Re: Grep Help
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69265
interpreted = N
texte = What up everybody!Nice solution D, however the link is including the last character after the number, i.e., the period and the comma as in "http://someaddress.com/file.tpl?TN=2345,".I believe that Alex has said that these numbers are always 4 digits, if so, then I'd just use a getchars starting from the end. That's a non-scalable option though in case those numbers ever do increase to 5 digits.G.At 11:10 AM 9/11/2007, you wrote:>Alex McCombie wrote:>>Olin,>>That's a way of approaching it (elegant) but I think it isnt going to work.>>First I think that will only catch the first occurrence of the numbers and>>these numbers are buried in a MSSQl text field.>>So for example I could see text that looks like this:>>>>----------------------->>"These tickets have been resolved. You can find references to other items>>relating to this occurrence at tn-2345, and tn-657898. Please let me know if>>there are any issues">>----------------------->>>>And I thought I could use the grep to find each occurrence and return them>>as a link to the reference number.>>Does this make sense?>>I despise grep.>>Alex>>>I avoid grep more than I should as well! ;-)>>http://www.euca.us/admin/tests/convert_text.html>>Donovan-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
What up everybody!Nice solution D, however the link is including the last character after the number, i.e., the period and the comma as in "http://someaddress.com/file.tpl?TN=2345,".I believe that Alex has said that these numbers are always 4 digits, if so, then I'd just use a getchars starting from the end. That's a non-scalable option though in case those numbers ever do increase to 5 digits.G.At 11:10 AM 9/11/2007, you wrote:>Alex McCombie wrote:>>Olin,>>That's a way of approaching it (elegant) but I think it isnt going to work.>>First I think that will only catch the first occurrence of the numbers and>>these numbers are buried in a MSSQl text field.>>So for example I could see text that looks like this:>>>>----------------------->>"These tickets have been resolved. You can find references to other items>>relating to this occurrence at tn-2345, and tn-657898. Please let me know if>>there are any issues">>----------------------->>>>And I thought I could use the grep to find each occurrence and return them>>as a link to the reference number.>>Does this make sense?>>I despise grep.>>Alex>>>I avoid grep more than I should as well! ;-)>>http://www.euca.us/admin/tests/convert_text.html>>Donovan-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] preventing hackers from posting their own (altered) version of my form? (2009)
WebDNA color code chart - oops (2002)
Quitting WebMerchant ? (1997)
[WebDNA] Strange [url] character conversions (2010)
[WebDNA] listcookies v Windows 7 (2011)
[WriteFile] problems (1997)
WebCatalog seems to choke on large (2meg) html files. (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
question on [delete] (1998)
SiteEditPro (1996)
Show shoppingcart after remove last item (1997)
Re:Non-technical messages ... (1997)
Frustration with formulas.db (1999)
founditem align (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebCat2 several catalogs? (1997)
[WebDNA] testing (2012)
syntax question, not in online refernce (1997)
Help! WebCat2 bug (Ben's input) (1997)
Re:Signal Raised (1997)