자바 하위버전 다운로드 방법
'Java' 카테고리의 다른 글
No buffer space available (maximum connections reached?): JVM_Bind (0) | 2016.06.04 |
---|---|
자바 GC 분석 (0) | 2016.06.04 |
자바 정규식 html 속성 변경 (0) | 2016.06.04 |
JSOUP html 파싱 (1) | 2016.06.04 |
JSON 파일 생성 규칙 (0) | 2016.06.04 |
자바 정규식 html 속성 변경
자바 정규식 html 속성 변경
html width 변경하기
String htmlPattern = "width=('|\")?[0-9]*('|\")?"; strHtml = strHtml.replaceAll(htmlPattern, "width='200'");
html height 변경하기
String htmlPattern2 = "height=('|\")?[0-9]*('|\")?"; strHtml = strHtml.replaceAll(htmlPattern2, "");
html td 속성 제거하기
String htmlPattern3 = "<td width=('|\")?[0-9]*('|\")?\">"; strHtml = strHtml.replaceAll(htmlPattern3, "<td>");
html url을 추출해서 새로운 태그로 변경하기
public static String replaceUrlToTagUrl(String origin, int width){ String regex = "([\\p{Alnum}]+)://([a-z0-9.\\-&/%=?:@#$(),.+;~\\_]+)"; Pattern p = Pattern.compile(regex, Pattern.CASE_INSENSITIVE); Matcher m = p.matcher(origin); String result = m.replaceAll(""); return result; }
.
'Java' 카테고리의 다른 글
자바 GC 분석 (0) | 2016.06.04 |
---|---|
자바 하위버전 다운로드 방법 (0) | 2016.06.04 |
JSOUP html 파싱 (1) | 2016.06.04 |
JSON 파일 생성 규칙 (0) | 2016.06.04 |
자바 정규식을 사용하여 HTML 태그 제거 하기 (0) | 2016.06.04 |
윈도우 프로세스 강제 종료하기
윈도우 프로세스 강제 종료하기
윈도우 2000계열과 NT계열에서 Kill 명령을 사용할 수 있도록 하는 유틸리티
다운로드 후 압축을 풀고 명령프롬프트에서 pskill pid 명령으로 프로세스를 종료시킬 수 있다.
http://technet.microsoft.com/en-us/sysinternals/bb896683.aspx
'ETC' 카테고리의 다른 글
크롬, Explorer10에서 문제 해결방법 (0) | 2016.06.04 |
---|---|
울트라에디트 설치 오류 (0) | 2016.06.04 |
티스토리 소스 코드 입력 방법 (1) | 2016.06.04 |
명령프롬프트에서 공백 단어 입력하는 방법 (0) | 2016.06.04 |
RFI, RFP (0) | 2016.06.04 |