Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: regex help Pin
vivasaayi26-Jan-10 18:19
vivasaayi26-Jan-10 18:19 
GeneralRe: regex help Pin
uglyeyes26-Jan-10 21:15
uglyeyes26-Jan-10 21:15 
GeneralRe: regex help Pin
#realJSOP27-Jan-10 1:24
mve#realJSOP27-Jan-10 1:24 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 2:26
uglyeyes27-Jan-10 2:26 
GeneralRe: regex help Pin
basantakumar27-Jan-10 3:20
basantakumar27-Jan-10 3:20 
GeneralRe: regex help [modified] Pin
uglyeyes27-Jan-10 11:35
uglyeyes27-Jan-10 11:35 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 16:48
uglyeyes27-Jan-10 16:48 
GeneralRe: regex help Pin
uglyeyes27-Jan-10 18:41
uglyeyes27-Jan-10 18:41 
I tested using regexbuddy

for text

"apple"
with my regex

(?<=a).*?(?=e)

returns "ppl"

now i want to get text in between using below regex

(?<=\<p\>&nbsp;&nbsp;&nbsp;\</p\>).*?(?=\<div class="central"\>)


<p>&nbsp;&nbsp;&nbsp;</p>
<p>red delicious.</p>
<div class="central"><p>&nbsp;&nbsp;&nbsp;</p>
<FORM action="x.asp" method="post" >
<INPUT type="hidden" name="oradvertiser" value="3">
<INPUT type="hidden" name="xx" value="test">
<INPUT type="hidden" name="xy" value="test">

<input type="image" src="./main/apple.png" value="Click here" onmouseout="this.style.border='5px solid silver';" />
</form><p>&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;</p>
<p>riped pear.</p>
<div class="central"><p>&nbsp;&nbsp;&nbsp;</p>
<FORM action="x.asp" method="post" >
<INPUT type="hidden" name="or" value="3">
<INPUT type="hidden" name="xx" value="test">
<INPUT type="hidden" name="xy" value="test">

<input type="image" src="./main/pear.png" value="Click here" onmouseout="this.style.border='5px solid silver';" />
</form><p>&nbsp;&nbsp;&nbsp;</p>
<p>dummy text</p>


but its not giving me "red delicious" and "riped pear"

could you please help?
GeneralRe: regex help Pin
uglyeyes28-Jan-10 12:50
uglyeyes28-Jan-10 12:50 
GeneralRe: regex help Pin
Ravi Sant14-Apr-11 1:42
Ravi Sant14-Apr-11 1:42 
GeneralRe: regex help [modified] Pin
ahmed_elshiwy4-Jan-13 0:59
ahmed_elshiwy4-Jan-13 0:59 
QuestionVery Basic question in network programming Pin
ashish8patil26-Jan-10 11:09
ashish8patil26-Jan-10 11:09 
AnswerRe: Very Basic question in network programming Pin
Nicholas Butler26-Jan-10 12:44
sitebuilderNicholas Butler26-Jan-10 12:44 
QuestionMarshalling Pin
3bood.ghzawi26-Jan-10 11:06
3bood.ghzawi26-Jan-10 11:06 
AnswerRe: Marshalling Pin
DaveyM6926-Jan-10 11:52
professionalDaveyM6926-Jan-10 11:52 
GeneralRe: Marshalling Pin
Luc Pattyn26-Jan-10 13:42
sitebuilderLuc Pattyn26-Jan-10 13:42 
QuestionDisplaying the contents of a List&lt;string[]&gt; in a ListBox Pin
Douglas Kirk26-Jan-10 9:47
Douglas Kirk26-Jan-10 9:47 
AnswerRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
DaveyM6926-Jan-10 10:33
professionalDaveyM6926-Jan-10 10:33 
GeneralRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
Douglas Kirk26-Jan-10 10:58
Douglas Kirk26-Jan-10 10:58 
GeneralRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
DaveyM6926-Jan-10 11:23
professionalDaveyM6926-Jan-10 11:23 
AnswerRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
sanforjackass26-Jan-10 10:37
sanforjackass26-Jan-10 10:37 
GeneralRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
sanforjackass26-Jan-10 11:10
sanforjackass26-Jan-10 11:10 
AnswerRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
Alex Manolescu26-Jan-10 11:13
Alex Manolescu26-Jan-10 11:13 
GeneralRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
Douglas Kirk26-Jan-10 16:15
Douglas Kirk26-Jan-10 16:15 
GeneralRe: Displaying the contents of a List&lt;string[]&gt; in a ListBox Pin
Alex Manolescu26-Jan-10 22:33
Alex Manolescu26-Jan-10 22:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.