GEngine

2017년 3월 20일 월요일

[C#] To check if string includes "ftp://" using Regex.

string s = "ftp://127.0.0.1:6000";

bool isInclude = System.Text.RegularExpressions.Regex.IsMatch("^ftp://", s);

If s include "ftp://" at first, then isInclude is true.

작성자: BimRoad 시간: 오후 2:06:00
이메일로 전송BlogThis!X에 공유Facebook에서 공유Pinterest에 공유
라벨: C#

댓글 없음:

댓글 쓰기

최근 게시물 이전 게시물 홈
피드 구독하기: 댓글 (Atom)

프로필

BimRoad
전체 프로필 보기

Category

  • Arduino (7)
  • Autodesk.NET (10)
  • BRCad (2)
  • C# (13)
  • C++ (1)
  • Development story (8)
  • G3DF (1)
  • Inno setup (1)
  • MFC (1)
  • Tutorial (2)

Contents

  • ▼  2017 (41)
    • ►  6월 (1)
    • ►  5월 (2)
    • ►  4월 (9)
    • ▼  3월 (12)
      • [Inno setup] How to make a script that need no ans...
      • [Civil3D API] How to make autoloading install file...
      • [Development story] GFtp #6 - To add favorites tre...
      • [Civil3D API] After loading .NET dll, If Civil3D d...
      • [C#] To check if string includes "ftp://" using Re...
      • [Development story] GFtp #5 - To add explorer usin...
      • [C#] To read a text file
      • [Development story] GFtp - #4 Refactoring and Git
      • [Development Story] GFtp - #3
      • [Development Story] GFtp update plan
      • [Development Story] GFtp - #2
      • [Development story] GFtp - #1
    • ►  2월 (17)
  • ►  2016 (3)
    • ►  6월 (3)
세련 테마. Powered by Blogger.