Horje
match multiple lines Code Example
match multiple lines
# Say you want all lines between the line "first-line-excluded" and "last-line-excluded"
Regex = "first-line-included((?:\s|.)*)last-line-included"
# Set the "Multi-line" option to true

# E.g. If the text has this form
	# before first line
	# first-line-included
	# 1
	# 2
	# ...
	# last-line-included
	# after last line
# the regex will return 
	# first-line-included
	# 1
	# 2
	# ...
	# last-line-included




Shell

Related
awk print lines when match is found with specific field Code Example awk print lines when match is found with specific field Code Example
bash file name from absolute path Code Example bash file name from absolute path Code Example
make zsh for all users Code Example make zsh for all users Code Example
uninstall mssql server ubuntu Code Example uninstall mssql server ubuntu Code Example
bash list the top ten largest values in a column Code Example bash list the top ten largest values in a column Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13