문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
wiki:javascript:javascript_note:js_regexp [2021/04/22 17:39] emblim98 |
wiki:javascript:javascript_note:js_regexp [2023/01/13 18:44] (현재) |
||
|---|---|---|---|
| 줄 345: | 줄 345: | ||
| =====Using test()===== | =====Using test()===== | ||
| - | "" | + | '' |
| \\ | \\ | ||
| 문자열에서 패턴을 검색하고, | 문자열에서 패턴을 검색하고, | ||
| 줄 392: | 줄 392: | ||
| ====Example==== | ====Example==== | ||
| <code javascript> | <code javascript> | ||
| + | < | ||
| + | let obj = / | ||
| + | document.getElementById(" | ||
| + | /* Found e in position 2 in the text: The best things in life are free! */ | ||
| + | </ | ||
| </ | </ | ||