Etantonio Electronic
Welcome to the forum.
Username:
Password:
Save Password


Register
Select Language

Forgot your Password?
 
Active Topics | Active Polls | Members | Online Users | Avatar Legend | Search
Select Skin: 
 All Forums
 Informatics
 C#
 Regular expression that doesn't recognize newline
   All users can post NEW topics in this forum
   All users can reply to topics in this forum
Rating is not allowed for this topic.
 Printer Friendly
Author Previous Topic: How insert a dropdownlist sourced by a dB in a dL Topic   

etantonio

Status: offline

 Posted - 11/26/2005 :  12:16:23  Show Profile  Visit etantonio's Homepage  Add etantonio to Buddylist
Good morning,
I've the following part of an html file,


////////////////////////////////////////////////////////////////////////
</font></b></td>
</tr> <tr>
<td bgcolor=white class=s><div style=padding:10px;>Computer
science, Universit,
Economy, Finance</div></td>
</tr>
////////////////////////////////////////////////////////////////////////


I would want to extract the words "Computer science, Universit,
Economy, Finance" using the following regular expression:


style=padding:10px;>(?<Traduzione>(?:\w|\s|\.|\d|\:|\"|\,|\?|\'|\-)*)</div>­</td>


the problem is that it doesn't recognize the newline character after
Universit, so the result is no match but I can't understand why, can
you help me to solve the problem???


Many thanks,


Antonio D'Ottavio
www.etantonio.it/en

Why not ?!?

 Country: Italy  ~  Posts: 26  ~  Member Since: 10/21/2005  ~  Last Visit: 11/17/2008 Alert Moderator 

Dimitri

Status: offline

 Posted - 11/26/2005 :  12:30:13  Show Profile  Add Dimitri to Buddylist
Try enabling the MultiLine option on the RegExp instance.

Bye,

Dimitri


 Country: Bahamas  ~  Posts: 2  ~  Member Since: 11/26/2005  ~  Last Visit: 11/26/2005 Alert Moderator  Go To Top Of Page
  Previous Topic: How insert a dropdownlist sourced by a dB in a dL Topic   
 Printer Friendly
Jump To:
 Image Forums 2001 This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000