Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Smoogan

  1. Smoogan

    Advanced Replace

    I'm still a little confused. At least I know it works.
  2. Smoogan

    Advanced Replace

    Hi tsuji, Thanks for that, can you esplain alittle more on what excatly you done? Also how would you change my orginal code? How you give an example. thanks
  3. Smoogan

    Advanced Replace

    Hello everyone, I have the following replace function: item.value = item.value.replace(/[.](\s{1,2})?/g, ".").replace(/[.]/g, ". "); Ok. My problem is and I'm not really sure where to start is that I want to only replace the full stops that have a Alphabetic character preceding it. Any...
  4. Smoogan

    Emigrating

    You don't have to have 1 if you have 12 years experience. Is there different types of working visas?
  5. Smoogan

    Emigrating

    I just read somewhere that I would need at least 12 years experience within my field to be able to get a H1B visa. I don't know why they makes things so hard.
  6. Smoogan

    Emigrating

    Well I don't know much about visa, or being sponsored. That's why I have 6-8 month plan to find everything out. I would be looking to be sponsored for a visa, that's for sure.
  7. Smoogan

    Emigrating

    Hi, I haven't really thought too much about where in America, certainly a major city. But i've just been speaking with someone and they told me if you don't have a Degree (Which I don't) it can be a huge dis-advantage. I instead started work at 16 and have nearly 8 years in it. So experience I...
  8. Smoogan

    Emigrating

    Hi all, I would love to work aboard for a few years, and I'm thinking about applying for Web Development jobs in America. Whats the best way to approach this? Just before anyone asks I'm British, Male, 23. Have been in the web development industry for 7 years now. I'm not looking for an...
  9. Smoogan

    Get Image Size in FireFox

    Hi You need to do an onload on the image to get the width & height. This doesn't work for locally loaded images. var image=new Image(); image.src="http://www.tek-tips.com/images/logo.gif" image.onload=function() { alert('W:'+image.width+', H:'+image.height) } Thanks Smoogan
  10. Smoogan

    str.replace

    Ah.. Done ;) Just becuase I wondered... what if you was seaching for instances of \/? How do you write this?
  11. Smoogan

    str.replace

    Thanks kaht, Have done that now, thanks MarkZK. Also... Can you explain how to user back/forward slashes correctly in regexp? Thanks
  12. Smoogan

    str.replace

    Well the brackets seem to work... not really too hot on regular expressions.
  13. Smoogan

    str.replace

    Ok... i should of look over that before I posted that... Now working... item.value = item.value.replace(/[/](\s{1,2})?/g, "/").replace(/[/]/g, "/ ");
  14. Smoogan

    str.replace

    I need to do the same thing but with forward slashes, having a problem with it? Should this work: item.value = item.value.replace(/,(/{1,2})?/g, ",").replace(/,/g, "/ "); ??
  15. Smoogan

    str.replace

    Indeed it does! Thanks

Part and Inventory Search

Back
Top