The simplest regular expression is a basic text string containing only alphanumeric characters. For example, Host1, matches the same value, Host1.
A regular expression is fundamentally different from a pattern using file name wild cards such as an asterisk ‘*’ or a question mark ‘?’. For example, issuing a search in Windows® Explorer using *.jpg as a filter matches all files with the .jpg extension.
This is not a regular expression, it is a simple filter that uses wild cards. An equivalent regular expression that selects all files with the .jpg extension is .*\\.jpg. The details of this regular expression are covered next.
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center