- May 31, 2002
- 71
- 0
- 0
I have opened a file up and I am reading each line of the file into an array. So now I have to search the array entry and pull out certain text. There are many lines to this file and I am trying to pull out everything between the <b> and the </b>
ie... <td><tr><b>this is the text i need</b></td></tr>
it will not be as straight forward as this but the common delimeter is that i always need the text between the bold html tags. i know there must be a way to do this using regular expressions. i think it has to do with $' and $` but i can't figure out how to get it to work. any help would be appreciated.
ie... <td><tr><b>this is the text i need</b></td></tr>
it will not be as straight forward as this but the common delimeter is that i always need the text between the bold html tags. i know there must be a way to do this using regular expressions. i think it has to do with $' and $` but i can't figure out how to get it to work. any help would be appreciated.