
SaiyanM
User
Jun 28, 2003, 1:13 PM
Post #1 of 3
(7314 views)
|
Help with regex
|
Can't Post
|
|
Thanks in advance for any help... If i have a string containing this data $string = qq~header.tpl <!-- BEGIN SUBBLOCK --> I'm in subblock <!-- BEGIN SUBBLOCK1 --> I'm in subblock1 {{HEADER.SUBBLOCK.SUBBLOCK1.ID1}} {{HEADER.SUBBLOCK.SUBBLOCK1.ID2}} <!-- END SUBBLOCK1 --> <!-- END subblock --> {{ID1}} {{ID2}}~; how would i use regular expressions to match the text in between <!-- BEGIN [name] --> and <!-- BEGIN [name] -->. ------------- Whats 2 + 2 x 2? Its not 8... (Please Excuse My Dear Aunt Sally)...
|