검색결과 리스트
regexp에 해당되는 글 3건
- 2012.12.12 [Visual Studio 2010] 정규표현식
- 2012.11.07 [JavaScript] source property
- 2012.09.11 [JavaScript] 정규표현식 한글 찾기
글
'IDE/Tool > Visual Studio' 카테고리의 다른 글
[Visual Stdio 2010] Developing Visual Studio Extensions (0) | 2012.12.13 |
---|---|
[Visual Studio 2010] Productivity Power Tools, anksvn 확장 프로그램 (0) | 2012.12.13 |
[Visual Basic 6.0] 마우스 휠이 동작하지 않을때 (0) | 2012.08.02 |
[Visual Studio] Add-In 만들기 (0) | 2012.05.16 |
[Visual Studio 2005] 매크로 환경변수 (0) | 2012.04.11 |
트랙백
댓글
글
링크 : http://www.w3schools.com/jsref/jsref_regexp_source.asp
Definition and Usage
The source property returns the text of the RegExp pattern.
Syntax
RegExpObject.source
Browser Support
The source property is supported in all major browsers.
Example
Example
Return the text of the RegExp pattern:
<script>
var str="Visit W3Schools";
var patt1=/W3S/g;
document.write("The text of the RegExp is: " + patt1.source);
</script>
var str="Visit W3Schools";
var patt1=/W3S/g;
document.write("The text of the RegExp is: " + patt1.source);
</script>
Try it yourself »
'JavaScript > JavaScript' 카테고리의 다른 글
[javascript] 브라우저 확인하기 (0) | 2012.11.28 |
---|---|
[javaScript] javascript 함수와 스코프 체인 (0) | 2012.11.07 |
[Javascript] window.onerror (0) | 2012.10.31 |
[javascript] 천단위 숫자 찾아주는 정규표현식 (0) | 2012.09.22 |
[Javascript] UTF-8 인코딩 관련 (0) | 2012.09.21 |
트랙백
댓글
글
var str = "한글 입니다. test";
if ( /.*?[가-힣]+.*?/.test(str) == true ) {
alert("한글이 존재합니다.");
}
else {
alert("한글이 존재하지 않습니다.");
}
'JavaScript > JavaScript' 카테고리의 다른 글
[javascript] 천단위 숫자 찾아주는 정규표현식 (0) | 2012.09.22 |
---|---|
[Javascript] UTF-8 인코딩 관련 (0) | 2012.09.21 |
[javascript] 자바스크립트의 true, false (0) | 2012.08.30 |
[javascript] 이벤트 브라우져 호환성 (0) | 2012.08.28 |
[Javascript] VBScript DateAdd 함수 구현 (0) | 2012.07.31 |
RECENT COMMENT