I
inderpaul_s
Hello everyone I've got these regular expressions and need helping
understanding them: Can someone help me out with details of each
expression ? Thanks.
1. /<[^>]+>/ # matches <open ..>, <foo >, etc. ?
2. /<\/?[^>]+>/ # matches any open or close tag ?
3. s/<img[^>]*>/hello/gi; #what does exacly hello replace ?
understanding them: Can someone help me out with details of each
expression ? Thanks.
1. /<[^>]+>/ # matches <open ..>, <foo >, etc. ?
2. /<\/?[^>]+>/ # matches any open or close tag ?
3. s/<img[^>]*>/hello/gi; #what does exacly hello replace ?