+ Reply to Thread
Results 1 to 1 of 1

Regular Expression Pattern May Include Decimal

  1. #1
    Forum Contributor
    Join Date
    01-07-2004
    Posts
    314

    Regular Expression Pattern May Include Decimal

    Hi all,

    Using Excel 2010 with reference to Microsoft VBScript Regular Expressions 5.5
    Sometime my string may include a decimal, sometimes not: 99.5, 99, 100, 98.7, etc

    How can I modify my pattern to include the decimal and any number trailing (.x or .xx)

    The code below is returning 99.00, should be 99.50

    thx
    w
    Please Login or Register  to view this content.
    Last edited by goss; 08-01-2013 at 02:16 PM. Reason: typo
    Kind regards,
    w

    http://dataprose.org

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. regular expression to extract multi instances of pattern from cell
    By starfish_001 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-11-2013, 07:45 PM
  2. [SOLVED] Regular Expression
    By Kvramana in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2013, 05:32 AM
  3. Regular Expression Pattern Testing Add-In
    By Firefly2012 in forum The Water Cooler
    Replies: 1
    Last Post: 02-19-2012, 06:52 PM
  4. regular expression in vba is not working
    By johnmerlino in forum Excel General
    Replies: 2
    Last Post: 07-07-2011, 06:19 PM
  5. Regular Expression in Excel?
    By terrence_chan99 in forum Excel General
    Replies: 3
    Last Post: 01-08-2007, 10:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1