Home |
Search |
Today's Posts |
#20
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Mon, 1 Dec 2008 13:52:57 -0800 (PST), Harlan Grove
wrote: Ron Rosenfeld wrote... ... I suppose one could also use \s([0]\d|\d|[12]\d|3[01])\D Not specific enough - would allow 0 and 00 as valid day numbers. Better to use 0?[1-9] in place of 0\d|\d . Agree 1. *Mine should be (\d{4}|\d{2}) ... What about \d\d(\d\d)? According to the RegexBuddy debugger, that takes 4 steps to match 08 and 5 steps to match 2008 --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
extract date from string | Excel Worksheet Functions | |||
Extract Date | Excel Worksheet Functions | |||
extract date from the most current date | Excel Discussion (Misc queries) | |||
How do I extract a date as text not the 1900 reference number | Excel Discussion (Misc queries) | |||
EXTRACT TEXT FROM A DATE | Excel Worksheet Functions |