본문으로 바로가기

입력값에 대해서 특수문자 제거 및 숫자만 이뤄지도록 하고 사용을 한다.




var hp = '01012345678';
hp = hp.replace(/(^02.{0}|^01.{1}|[0-9]{3})([0-9]+)([0-9]{4})/,"$1-$2-$3"); 
크리에이티브 커먼즈 라이센스
Creative Commons License

트랙백

http://trudy.kr/trackback/157
  1. 샌즈카지노쿠폰

    샌즈카지노쿠폰

    Trudy :: 2020/01/07 07:03

  2. window cleaning pitt meadows

    window cleaning pitt meadows

    Trudy :: 2020/01/08 05:25

  3. window cleaning maple ridge

    window cleaning maple ridge

    Trudy :: 2020/01/08 08:15

  4. teething whitening

    teething whitening

    Trudy :: 2020/01/08 08:39

  5. Buy CBD Oil UK

    Buy CBD Oil UK

    Trudy :: 2020/01/10 22:48

  6. 샌즈카지노

    샌즈카지노

    Trudy :: 2020/01/13 21:17

  7. CogniSense

    CogniSense

    Trudy :: 2020/01/16 18:47

  8. barbershop

    barbershop

    Trudy :: 2020/01/17 02:15

  9. review

    review

    Trudy :: 2020/01/17 03:18

  10. comptia a+ training

    comptia a+ training

    Trudy :: 2020/01/17 09:22

  11. baby

    baby

    Trudy :: 2020/01/20 02:14

  12. forex trading

    forex trading

    Trudy :: 2020/01/20 02:28

댓글을 달아 주세요

Trudy
Trudy 님의 블로그
MENU
VISITOR 오늘589 / 전체495274