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

Browse by Tags

All Tags » regexp
Showing page 2 of 7 (63 total posts)
  • HTML content, "grouped by" wrapped tags (for lack of a better term)

    Hey all, Before I start, I just want to say that below you will find a modifier of "U".  I know a lot of people say this should not be used, so if there is a way that my issue can be resolved where the U modifier won't be needed, great!  Language: PHP (4) Users submit content via a wysiwyg ...
    Posted to Construction Advice (Forum) by phxvyper on January 23, 2008
  • Back Reference Overwrites Changes

    I ran into an interesting situation where back references overwrite previous changes in a regular expression. I needed a regular expression that updated a pattern but also checked for something that comes before the pattern.  It should leave everything before the pattern as it was before the updates.  There can be multiple matches of ...
    Posted to Construction Advice (Forum) by AProgrammer on November 20, 2007
  • 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
  • extracting the common name from a distinguished name

    I am using Java's regular expression library.  I need to extract the common name from an active directory's distinguished name for a user. I have the String representation of a user's distinguished name. The only portion I need or care about is the common name. I am trying to write a regular expression that will extract that ...
    Posted to Construction Advice (Forum) by spjohnston on October 24, 2007
  • Split SQL INSERT statement

    Hello I have to parse a SQL INSERT statement to get all the values to include in the database. I thought that a regex should exist to do this, and I found this very nice regex (http://regexlib.com/REDetails.aspx?regexp_id=1750) : (INSERT ...
    Posted to Construction Advice (Forum) by Flexx on September 27, 2007
  • Grouping getting lost on Java regex with repetition

    I need to break the following string into seperate 8 seperate groups  "key:val:key:val:key:val:key:val" I really want to avoid using this ugly regex ([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*) So i've tried using a passive group and a quantifier (?:([^:]*):){1,6}([^\s])+   The problem is that ...
    Posted to Construction Advice (Forum) by niallos on August 2, 2007
  • Help in writing a regular expression

    Hi, I have a validation criteria which says: a number cannot start with "000" which is 9 digits in length. And it needs to be in one expression. Can somebody help me in writing a regular expression for this? Thank you
    Posted to Construction Advice (Forum) by trueharsh on July 31, 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
  • Find substring

    Hello everybody, I almost feel bad about writing here - but I really tried for days now. I need a string filtered (matched) from a string like this:   @s My Company Ltd@o My-Street-adress 123@o New York@pt 123-35-144@t Mobile@pt 593-1195-1395   I am trying to filter out the company´s name (which always is from the beginning of ...
    Posted to Construction Advice (Forum) by christophn on April 25, 2007