H
Hans Wurst
Hi folks,
sorry to bother you with such a mundane question, but I tried for 3hours
and don`t know how :-(
I need to extract the strings, that means everything between "" or ''
that is the Input:
<body>
<div id='pagewrapper'>
<div id='header'>
<p>Ruby Forum is cool</p>
</div>
<div id='navbar'>
<ul>
<li><%= link_to 'Cities', cities_path %></li>
<li><%= link_to 'Restaurants', restaurants_path %></li>
<li><%= link_to 'Categories', categories_path %></li>
<li><%= link_to 'Products', products_path %></li>
</ul>
wished output:
pagewrapper
header
navbar
Cities
Restaurants
Categories
Products
Please help
Thanks in advance
pannda
sorry to bother you with such a mundane question, but I tried for 3hours
and don`t know how :-(
I need to extract the strings, that means everything between "" or ''
that is the Input:
<body>
<div id='pagewrapper'>
<div id='header'>
<p>Ruby Forum is cool</p>
</div>
<div id='navbar'>
<ul>
<li><%= link_to 'Cities', cities_path %></li>
<li><%= link_to 'Restaurants', restaurants_path %></li>
<li><%= link_to 'Categories', categories_path %></li>
<li><%= link_to 'Products', products_path %></li>
</ul>
wished output:
pagewrapper
header
navbar
Cities
Restaurants
Categories
Products
Please help
Thanks in advance
pannda