i had a string basically the contents of a whole file ,i want to extract substrings whenever a pattern occurs as below....
this is my string and i want to extract the string between @begin....@end store the multipe occurances to another string$string=" hi hello @begin i want this to extract yes i want @end asas x x x x x zxzxax hi hello hi hellooo @begin i want this to extract yes i want @end" .....
In reply to help regarding a regular expression in perl by praveenchappa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |