After a match, $1 will contain the part of the match in the first parentheses, and $2 will contain the part of the match in the second parentheses and so on.
Cheers!
In reply to Re: Extract substring from string with no whitespace using regexp?
by mildside
in thread Extract substring from string with no whitespace using regexp?
by Elijah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |