일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 리포팅서비스
- Excel
- IIS
- MS
- CONVERT()
- 이클립스
- Winform
- 엑셀
- 태그를 입력해 주세요.
- 윈도우
- attr()
- DataGrid
- 비주얼스튜디오
- 프로시저
- oracle
- SSRS
- 자바스크립트
- 단축키
- c#
- 윈폼
- MSSQL
- aspnet
- javascript
- 오라클
- replace()
- jQuery
- microsoft
- 마이크로소프트
- windows
- ASP
- Today
- Total
목록Regex (3)
DJ메탈짱™의 Free Style
// 숫자가 포함된 문자열이면 true// 그렇지 않으면 falseRegex r = new Regex("[0-9]");bool bSkypassNoChk = r.IsMatch(strSkypassNo);
private string StripHTML(string htmlString) { //This pattern Matches everything found inside html tags; //(.|\n) - > Look for any character or a new line // *? -> 0 or more occurences, and make a non-greedy search meaning //That the match will stop at the first available '>' it sees, and not at the last one //(if it stopped at the last one we could have overlooked //nested HTML tags inside a big..
1. Namespace 선언2. StringHTML 메소드 생성3. 실재 사용하는 곳에서 태그가 있는 text를 넣어줌. - StripHTML(inputValue) ; using System.Text.RegularExpressions ; /// /// 2007/12/14 - add by bhchoi /// html 태그를 제거함. /// /// 입력값 /// string public static string StripHTML (string inputString) { return Regex.Replace(inputString,@"",string.Empty); } private void Page_Load(object sender, System.EventArgs e){ string test = StripHTM..