borris111698
asked on
splitting
I have the following in a file;
<b>name1 (object1)</b><br>
<b>name2 (object2)</b><br>
<b>name3 (object3)</b><br> ...... etc
I am using a foreach control statement to extract each line, but then want to compare the name1, name2, name3 ....etc for out of the file. Each name has a varible length..
someone please help!!!
<b>name1 (object1)</b><br>
<b>name2 (object2)</b><br>
<b>name3 (object3)</b><br> ...... etc
I am using a foreach control statement to extract each line, but then want to compare the name1, name2, name3 ....etc for out of the file. Each name has a varible length..
someone please help!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
($name) = /<b>(\w+)/;
}