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