Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^ *[^\s]+( +[^\s]+)*$
/
gm
Input 1
New
# UFIS : User-Friendly and Instant Installer System # Each comment starts with '#' and ends with a new line. # Each statement is written in one line. # Commands' and built-in variables' names are always uppercase. # A custom variable name must have at least one lowercase character and must begin with a letter or the underscore (_). LET APP_NAME = "MyApp" LET APP_VERSION = "1.0.0" LET a = MATERIAL "folderx/" a -= "test.exe" a -= "main.exe" a += MATERIAL "folderz/" a += MATERIAL "README.md" LET b = MATERIAL "folderx/test.exe" LET c = MATERIAL "folderx/main.exe" IF INSTALLING LET iAcceptLicense = INPUT CHECKBOX "Accept [license](https://myapp.com/license)" MANDATORY IF iAcceptLicense == FALSE QUIT ENDIF LET iLanguage = INPUT CHOICES "Vietnamese" OR "English" DEFAULT "English" MANDATORY LET INSTALL_DIR = INPUT DIRECTORY "Installation directory" POSTFIX "/${APP_NAME}" DEFAULT PROGRAM_FILES LET iInstallTest = INPUT CHECKBOX "Install test.exe" DEFAULT F
Extraction
# UFIS : User-Friendly and Instant Installer System # Each comment starts with '#' and ends with a new line. # Each statement is written in one line. # Commands' and built-in variables' names are always uppercase. # A custom variable name must have at least one lowercase character and must begin with a letter or the underscore (_). LET APP_NAME = "MyApp" LET APP_VERSION = "1.0.0" LET a = MATERIAL "folderx/" a -= "test.exe" a -= "main.exe" a += MATERIAL "folderz/" a += MATERIAL "README.md" LET b = MATERIAL "folderx/test.exe" LET c = MATERIAL "folderx/main.exe" IF INSTALLING LET iAcceptLicense = INPUT CHECKBOX "Accept [license](https://myapp.com/license)" MANDATORY IF iAcceptLicense == FALSE QUIT ENDIF LET iLanguage = INPUT CHOICES "Vietnamese" OR "English" DEFAULT "English" MANDATORY LET INSTALL_DIR = INPUT DIRECTORY "Installation directory" POSTFIX "/${APP_NAME}" DEFAULT PROGRAM_FILES LET iInstallTest = INPUT CHECKBOX "Install test.exe" DEFAULT F