Copy Paste Numbers only 123.45-67.8 >>> 12345678


  1. Posts : 1
    Windows 7 Ultimate x64
       #1

    Copy Paste Numbers only 123.45-67.8 >>> 12345678


    Hello in my job I often have to copy partnumbers consisting of numbers and special characters into other applications (mainly in Internet Explorer) that accept numbers only. Currently I am using StrgC and StrgV and then manually delete any "non numbers" like "-" or ".". This is very annoying and time consuming. Does anyone have a better idea? Hopeful Stjarna
      My Computer


  2. Posts : 5,440
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #2

    Hi and welcome to the Forum.
    When you say
    Currently I am using StrgC and StrgV
    I presume you mean Ctrl+c or +v?
    What programs are you pasting the info to? You say mainly Internet Explorer but do you mean possibly a spreadsheet or Database?
      My Computer


  3. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #3

    Yes, hi and welcome Stjarna :)

    I found this: http://jsfiddle.net/jakecigar/gQqC8/ when you paste your string 123.45-67.8 into either box it comes out 12345678

    I found it when I read this site: https://forum.jquery.com/topic/block...on-paste-event You might find more here: strip special characters when pasting I figured it would involve some scripting which I don't know very well, hope it helps.

    Well it's late for me, I'll pick this up tomorrow.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:26.
Find Us