Re: best design for parse



the target is actually part of a windows .net application with winform that
embed webbrowser control.

I despite the clipboard source may well be in html table, but I can get the
text. the resulting text will have columns delimited by a couple of space
like characters

I am just in the designing stage to find the an easy to maintain approach
that will yield adequate performance on target PCs.

"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:%23%23RArbhMHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
GS,

I was thinking about writting that this was not in the case with webpages.
However windowforms is the default in this newsgroup, therefore please
tell
this next time.

Cor

"GS" <gsmsnews.microsoft.comGS@xxxxxxxxxxxxxxxxx> schreef in bericht
news:OIkxvRhMHHA.992@xxxxxxxxxxxxxxxxxxxxxxx
thank you, Cor.

However, I must be thick. I don't quite get the drift as with regard to
2007. are we talking about a new release of studio, .net frame work or
just
the release or patch to come out in 2007.

how would that handle string date mixed with other data?

Actually the original source of the data is displayed html table placed
in
clipboard. the objective to standardize the date string to yyyy-mm-dd
and
then pass on to other components for processing and storage

"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:%23Qj7TbWMHHA.3944@xxxxxxxxxxxxxxxxxxxxxxx
GS,

Maybe can you avoid this in 2007 and all things like that as
DateTime.parseExact, but have a look to the nicely by Microsoft inbuild
globalization and than the to that related ToString option.

Cor

"gs" <gs@xxxxxxxxxxxxxx> schreef in bericht
news:OtrnsPTMHHA.4720@xxxxxxxxxxxxxxxxxxxxxxx
let say I have to deal with various date format and I am give format
string from one of the following
dd/mm/yyyy
mm/dd/yyyy
dd/mmm/yyyy
mmm/dd/yyyy
dd/mm/yy
mm/dd/yy
dd/mmm/yy
mmm/dd/yy
dd/mm
what is the best way to come up a relevant regex for the incoming
format
string
a) use two array and statically match
b) use regex to find the order









.



Relevant Pages

  • Re: can we break the wordwrap limit in kmail?
    ... "...people working on dumb serial terminals on UNIX machines..." ... HTML is a rendering language and its rendering depends ... that is - while Microsoft Windows considers the ... GNU/Linux users as well without Average Joe even knowing about it. ...
    (comp.os.linux.misc)
  • Re: Regaining the lost utilities in the Accessory area in program files
    ... Users and all Users Windows ... Target C:\WINDOWS\System32\calc.exe ... shortcuts will  vanish..... ... Another problem that he recognized is if he install a new software, ...
    (microsoft.public.windowsxp.general)
  • Re: 127.0.0.2 of The RIOT ACT/Jan has done used real big spooky words again!
    ... So Bill and Paul conceived Windows so Jan could post multiple concommitant riot acts and you could put them up all at once. ... I didn't think I was giving anyone anything in html but a link. ... Now you got to decide or get help to decide if you are seein' a visual hallucination or MSFT has called it a "formatting toolbar" on their site. ... Chad Harris ...
    (microsoft.public.windowsxp.customize)
  • Re: 127.0.0.2 of The RIOT ACT/Jan has done used real big spooky words again!
    ... So Bill and Paul conceived Windows so Jan could post multiple concommitant riot acts and you could put them up all at once. ... I didn't think I was giving anyone anything in html but a link. ... Now you got to decide or get help to decide if you are seein' a visual hallucination or MSFT has called it a "formatting toolbar" on their site. ... Chad Harris ...
    (microsoft.public.windowsxp.basics)
  • Re: Converting to Linux
    ... >> If this is the only reason you're interested in Linux, ... The best HTML editor on windows is Wordpad, ... > As a student at my university, the computer labs are Win XP based, the IBM PCs ...
    (alt.linux)

Loading