Difference between revisions of "Pick out the text between square brackets"

From MyWiki
Jump to: navigation, search
(Created page with "echo "test [test1] test" | grep -Po "(?<=\[).*?(?=\])"")
 
(No difference)

Latest revision as of 13:26, 15 July 2020

echo "test [test1] test" | grep -Po "(?<=\[).*?(?=\])"