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

Browse by Tags

All Tags » RegEx » C#
Showing page 1 of 2 (19 total posts)
  • Regular Exp in C# and Java.

    Hi All I am working on porting a code from .net to Java. and its highly using reg expressions.I dont know .net and i have to recognize the purpose and meaning of regexs written to create same in java. There is one regex in C# to prevent HTml tags :(?<!<[^>]*) If anyone can help me find its equivalent in Java ,it would ...
    Posted to Platform Differences (Forum) by Misha79 on February 9, 2011
  • Equivalent of Regex Class (C#) in Java

    I am working on some code development in Java from C#. There is a method that returns Regex class-type in C# and figured that its a system class in System.Text.RegularExpressions.  Not much idea about C#. To simulate same thing in Java is there any Regex Class  that represents a regular epxression.
    Posted to Platform Differences (Forum) by Misha79 on February 8, 2011
  • Help validate directory path

    I need help creating a regular expression for a user input on an asp.net page with c# code behind. I have a textbox where a user can enter a directory path; which i then use to save certain files at. they can enter a local directory, a directory on network, server or an ftp site. so for example these are valid ...
    Posted to Construction Advice (Forum) by imranmp on February 25, 2010
  • 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
  • table parsing

    hi every one .. I want to parse product name , price  from source kod of web site by using C#.   Example in that code I want to take  PANASONIC BB-HCM515CE CCD MEGAPIKSEL POE VIDEO, 838,8 € + KDV,2.081,52 YTL,Havaleye %3 İndirim: with 2.019,07 YTL. But that code is not just between the ...
    Posted to Construction Advice (Forum) by caglar26 on April 23, 2008
  • Catching a multiline text block

    Hi all, I have a get a piece of text from a document and I don't find the way to it with a singular regEx. The text has the following ...
    Posted to Construction Advice (Forum) by George__2008 on April 5, 2008
  • Special Parsing HTML by C#

    Hi everyone   <span class="FiyatSmallBlackBack"><b>Bizde:</b></span><span class="FiyatSmallBlue"><b> 26,00 USD + KDV</b></span> <br />  In that HTML I want to parse 26,00 USD +KDV using c# but that html could be as that ; (no +KDV just 26,00 ...
    Posted to Construction Advice (Forum) by caglar ak on March 28, 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
  • How to accept certain symbols and reject others

    I'm trying to create a regex that has the following requirements: 1. must be at least 7 characters in length 2. must contain at least 1 digit 3. must contain at least 1 lowercase letter 4. must contain at least 1 uppercase letter 5. must contain at least one of the following symbols: = ! $ % ^ & + 6. It must reject any word that ...
    Posted to Construction Advice (Forum) by RobertH on November 13, 2007
1 2 Next >