===========================Example.txt==================================
Welcome to RegExr v2.1 by gskinner.com, proudly hosted by Media Temple!
Edit the Expression & Text to see matches. Roll over matches or the expression for details. Undo mistakes with ctrl-z. Save Favorites & Share expressions with friends or the Community. Explore your results with Tools. A full Reference & Help is available in the Library, or watch the video Tutorial.
Sample text for testing:
abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789 _+-.,!@#$%^&*();\/|<>"'ㅜ
12345 -98.7 3.141 .6180 9,000 +42
555.123.4567 +1-(800)-555-2468
foo@demo.net bar.ba@test.co.uk
www.demo.com http://foo.co.uk/
http://regexr.com/foo.html?q=bar
https://mediatemple.net
/[0-9]/g : 숫자만 가져옴
/[a-z]/g : 소문자만 가져옴
/[A-Z]/g : 대문자만 가져옴
/[a-zA-Z]/g : 대소문자만 가져옴
/[0-9a-zA-Z]/g : 대소문 및 숫자만 가져옴
/[^0-9]/g : 숫자를 제외한 나머지
'The Programmer' 카테고리의 다른 글
[C#] 시간측정 코드s (0) | 2019.03.07 |
---|---|
게임 프로그래밍을 위한 Unity3D #02_답안지 (0) | 2019.01.30 |
게임 프로그래밍을 위한 Unity3D #01_답안지 (0) | 2019.01.29 |
유니티 쓸만한 코드s (0) | 2016.10.25 |
극(極) 프로그래밍 술(術) (2) | 2014.06.08 |