Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 12:45

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



RegEx Pattern

Discussion on RegEx Pattern within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
Kraizy​'s Avatar
 
elite*gold: 0
The Black Market: 471/0/0
Join Date: Apr 2010
Posts: 9,696
Received Thanks: 1,810
RegEx Pattern

Wäre jemand mal so nett mir einen funktionierenden RegEx Pattern zu geben, um das rotmarkierte rauszufilten? Ich kenn mich nicht besonders gut damit aus und bekomms einfach nicht gebacken..

Quote:
<td class="thead" style="font-weight:normal; border: 1px solid #EDEDED; border-right: 0px" >
<!-- status icon and date -->
<a name="post16640601"><img width="10" height="11" class="inlineimg" src="http://www.elitepvpers.com/forum/images/elitepvpers/statusicon/post_old.gif" alt="Alt" border="0" /></a>
05-11-2012, 21:37

<!-- / status icon and date -->
</td>
Kraizy​ is offline  
Old 09/23/2012, 21:38   #2
 
epiTR's Avatar
 
elite*gold: 185
Join Date: May 2008
Posts: 3,646
Received Thanks: 603
Damit sollte das gehen:
Code:
"\r\n(.*?)\r\n\r\n<!-- / status icon and date -->"
epiTR is offline  
Thanks
1 User
Old 09/23/2012, 21:42   #3
 
Kraizy​'s Avatar
 
elite*gold: 0
The Black Market: 471/0/0
Join Date: Apr 2010
Posts: 9,696
Received Thanks: 1,810
Bin grade am Handy, werd's morgen mal ausprobieren, dankeschön.
Kraizy​ is offline  
Reply


Similar Threads Similar Threads
c# Regex patern gesucht
09/18/2012 - .NET Languages - 1 Replies
Hallo Epvpler, ich suche nach einem passenden Pattern für meinen Code, ich möchte ein bestehendes Programm ändern und zwar wie folgt: Original: (1)@start_of_file ==> > N1 (16-SEP-2012) > N2 (10:58:09) > N3 #500=0.(====HOME POS FOR SPINDLE 2===) (1)@def_turn_tool ==> (0)@plane_data ==>
Kleines Problem mit RegEx
09/16/2012 - .NET Languages - 4 Replies
Hey Leute ich habe folgenden Code: System.Text.RegularExpressions.Regex(RichTextBox1. Text, "Ha.*s", RegexOptions.IgnoreCase) Die Fehlermeldung lautet jetzt: "Regex ist ein Typ in RegularExpressions und kann nicht als Ausdruck verwendet werden." Könnt ihr mir mal helfen? Ich glaub ich steh grade voll auf dem Schlauch...
[C#]RegEx Problem
11/29/2011 - .NET Languages - 4 Replies
Also ich habe ein Problem, hab ein Patter erstellt: rf_token: '(\w.*)' Nach RegexBuddy gibt es 2 Machtes und in der zweitem Match ist richtige Wert. Aber mit diesem Code bekomme ich Wert nicht wieso wo ist Fehler? string re1 = "rf_token: '(\\w.*)'"; // Variable Name 1 Regex r = new Regex(re1, RegexOptions.IgnoreCase | RegexOptions.Singleline); Match m = r.Match(Winhttp.Body); String var1 = m.Groups.ToString();
[C#] Problem mit Regex
07/11/2010 - .NET Languages - 2 Replies
Huhu, Ich hab da ein kleines Problem was ich irgendwie nicht schaffe zu lösen.. Also ich hab folgenden Source: public List<string> GetHtmlLinks(string html) { string linkPattern = "<a href=\"(.*?)\">(.*?)</a>"; MatchCollection linkMatches = Regex.Matches(html, linkPattern, RegexOptions.Singleline);
[c#] Regex Klasse
03/11/2010 - .NET Languages - 2 Replies
Hallo ich habe eine Frage zu der Regex Klasse. Meine Seite hat folgenden Quelltext: treffer>1<treffer treffer>2<treffer treffer>3<treffer treffer>4<treffer treffer>4<treffer treffer>5<treffer



All times are GMT +1. The time now is 12:45.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.