DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
grep get everything between two strings
echo "Here is a string" | grep -o -P '(?<=Here).*(?=string)'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#grep
#strings
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit