thank u all for ur response and it helped me a lot.....Now i had another issue in the same problem insted of capturing i need to replace with another string ....as below
$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" ..... i had @replace=["replacestring1","replacestring2"....] i need to have my string like. $string=" hi hello @begin replacestrinjg1 @end asas x x x x x zxzxax hi hello hi hellooo @begin replacestring2 @end" .....
In reply to Re: help regarding a regular expression in perl
by praveenchappa
in thread help regarding a regular expression in perl
by praveenchappa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |