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

Browse by Tags

All Tags » numbers
Showing page 1 of 3 (21 total posts)
  • Matching number patterns.

    Hello, Is there a way to match number patterns and sequences? In my setup I have the numbers 1 to 6, each pattern contains three numbers. Matches should be any triple, any double, 123 and 456. Any mutation of these should be a match too (eg. 122, 212, 123, 312, 645, 666, etc). If possible I would also like to filter the leftover number from a ...
    Posted to Construction Advice (Forum) by blarg on May 28, 2011
  • Need Help! Custom Tag and Attribute Value

    I am developing asp.net c# web application and I want an expression that will get only numerical value of a custom tag. Example tag: <MyTag MyTagId="123">  I need an expression that will extract 123 from MyTagId attribute of MyTag. Your help will be highly appreciated.   Thanks. 
    Posted to Construction Advice (Forum) by chope_07 on May 9, 2011
  • Trying to capture a series of values.

    Howdy all, I've got this incoming string "132 / 456 / 789" (Or sometimes even "123/456/789" but it should always be with / seperating the numeric values.) and I'm trying to capture just the numbers and move them into a variable.  My RegEx is:  ([0-9]+)(?:[^0-9]*)([0-9]+)(?:[^0-9]*)([0-9]+)(?:[^0-9]*) So, ...
    Posted to Construction Advice (Forum) by EtanSivad on July 13, 2010
  • Need help with an expression.

    How would I write an expression to match 0, in the following two lines? 1,0,10,12 0,10,12 Note, I don't want match the 10, just the 0, Any help is appreciated.    
    Posted to Construction Advice (Forum) by proof on July 7, 2010
  • RE to detect Unicode number

    Hi.. I need a regular expression which detect an Unicode decimal in the form of string. For example String str = "1234"; if( str.matches('"\\d+"))  System.out.println("number"); This will work properly...........but how can I detect an Unicode number..that is if the string is ... String ...
    Posted to Construction Advice (Forum) by ns2010 on June 17, 2010
  • how to write the regular expression

    Hi  I need to check the text box value. The validation should be as folows. A + ve number may contain decimal values with maximum 16 characters , 12 characters to the left of decimal point + decimal point + 3 places of decimal places. Example.. 123456789123.123 , left to decimal can not be more than 12 digit, right side can not be more than ...
    Posted to Construction Advice (Forum) by ashis on May 6, 2010
  • Finding numbers

    Hello everyone, I need to scan the body of an email for two types of numbers. A message will only have one or the other. I can not not figure out how to find a number that does not end with a hyphen(-). An email may have a number like this 45465482 or it may have a number like 4654855-51225. I have a pattern  "\d{4,}-\d{4,}" that ...
    Posted to Construction Advice (Forum) by Eman_No1 on March 19, 2010
  • REG_BADRPT when i'm trying to test a regex with ereg (POSIX)

    Hello everyone, I'm pretty new to regexes and I've got a small problem. I have the following regex: (?<=lblVacant">(ab )?)([\d,.\/]+)(?=(<\/span>|\s\-)) which should match ose1_DetailEstateData1_lblVacant">06.08.2009 - 30.10.2009</span></td> ailEstateData1_lblVacant">10.08.2009 - ...
    Posted to Construction Advice (Forum) by Olty on August 6, 2009
  • Numbering by a 5 year old

    Hi Im am writing a function in SQL Server 2005 using a simple C# assembly that implements C# regex functions. I found the assembly on codeproject. The data I am trying to modify contains numbering, that was entered by a 5 year old probably.  Here is 5 of the problem data on the LEFT and data I need to return on the RIGHT The word ...
    Posted to Construction Advice (Forum) by HeavenBurns on June 10, 2009
  • How can I use regex to add css to chapter and verse numbers in a Bible?

    Hello,  I'm using Dreamweaver CS4. I'm fairly new at it. I'm comfortable using find and replace but I have never had to use Regex before. I'm working on a copy of the New Testament. I want to use a CSS style to change the appearance of the chapter and verse numbers. As you know there is a chapter number, then a ...
    Posted to Construction Advice (Forum) by Indianbear on April 8, 2009
1 2 3 Next >