I have been looking around stack-overflow and various other websites for the solution to my problem but haven't found any suitable for my specific purposes and have been unable to change these solutions to suit my code. These include regex codes which I do not fully understand or know how to manipulate.
So here is my question, I have a string which has a structure:
"name+" at:"+Date+" Notes:"+meetingnotes"
(name, Date and meetingnotes being variables). What I want to do is extract the date part of the string and stick it in a Date variable. The basic Dateformat for the dates is "yyyy-MM-dd". How do I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…