Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » C# » regexp
Showing page 1 of 2 (14 total posts)
  • Need an expression to find all text between numeric identifiers

    Hello, I am using C# in Visual Studio 2008.  I have a text file of the entire Bible that I am wanting to either put into a database or write to an XML document.  The format of the text is as follows with comments in C# single line comment style to the right of the actual text (example: Genesis  //book ...
    Posted to Construction Advice (Forum) by RandyHJ on May 13, 2008
  • parsin html by using regex in c#

    <meta name="keywords" content="IBM 7976KAG SYSTEM X3400 QC 1.60GHZ 2GB 3X73,sunucular, server, markalı sunucular, markalı server, hp sunucular, hp, ibm, ibm sunucular, ibm server, century server, century sunucular"> <meta name="description" content="Fiyat:1879$+KDV | Kdv Dahil:2.877,95YTL | Havale ile %3 ...
    Posted to Construction Advice (Forum) by caglar26 on April 27, 2008
  • Need a regular expression for validating email which should exclude /|\;,<> and spaces

    Hi I need a regular expression for email validation, it should excldue the email addresses with the following special characters.  \|/,;<> and spaces. The rule for validating the email is : Email address must contain a single @, one or more periods, and any standard characters with the exception of spaces and the ...
    Posted to Construction Advice (Forum) by bvsuresh_reddy on March 19, 2008
  • regex that matches a string containing 6 alpha, 2 alphanumeric and 3 OPTIONAL alphanumeric

    I need a regex that matches a string containing 6 alpha, 2 alphanumeric and 3 OPTIONAL alphanumeric, upper and lower case. I need this for validating strings in ASP.net 2. Eg:. abcdefab345 abcdef22 abcdef5e abcdef3ee5e abcdef55asd abcdefr5 and should not match abcs abcd34d3 abcdef23f abcdefd abcdef  
    Posted to Construction Advice (Forum) by pradeepd on October 29, 2007
  • RegEx Help - Replacing hrefs

    OK. Stick with me here. It is going to take me a few to explain this. I am writing a small application in VB.NET. The ultimate task is to make a web browser, within a web browser. Basically, You open IE, FireFox, Safari, or whatever browser you like and go to the web application I am building. At the top of the web page, I have a tool bar, ...
    Posted to Construction Advice (Forum) by TampaWebDevelopment on June 27, 2007
  • Finding similar records

    Hi, I need to create a system that if a user signs up it will check if this user is already signed up. it will check sometimes by phone number somtimes on address and firstname sometimes on addres and lastname sometime on lastname and city and address. sometimes for the customer ID. so how would I use regex to check if there is a similar ...
    Posted to Construction Advice (Forum) by rnby on May 17, 2007
  • Getting items in a specific group?

    What is a C# regex pattern to match only the items in Group 2? The only requirement is that the pattern must check if the last group passed is group 2 - it cannot look ahead and check that it is before group 3 or 4 (because the order of groups can change). In this example, it should return Items D, E, J and K. Group 1 Item A Item B Item C Group ...
    Posted to Construction Advice (Forum) by ShaneS on January 31, 2007
  • How To Get Match Results From HTML?

    Hello, I'm having difficulty creating a C# regex pattern to get the matches from this webpage. I only want the matches for Division B. The pattern I currently have is below. I'm sure this is very inefficient and it is not complete. The website may change it's formatting so I want to ignore the contents of the <td>, <p> ...
    Posted to Construction Advice (Forum) by ShaneS on January 29, 2007
  • password validation

    Hi,  I have a Regex to validate password by following conditions:  1. password must be between 8 and 10 characters 2. contain at least one one letter and one digit 3. not contain leading and trailing blanks But if the first character is numerical, my regex failed, other cases are ok. Can anyone help me out. Thanks a lot!  Here ...
    Posted to Construction Advice (Forum) by Netee on December 18, 2006
  • RegExp Help

    Hi, Im operating on the .NET platform using C# as my language, I have never used reg exp before and i'm having trouble. I wish to gather all anchors from a XHTML page. This works fine and the reg exp I have is this: <a[^>]*href\s*=\s*""?(?<HRef>[^"">\s]*)""?[^>]*> This works fine and ...
    Posted to Construction Advice (Forum) by james on November 24, 2006
1 2 Next >