Thanks, I'll check them out. On Sat, Aug 25, 2018 at 4:53 PM Home Linux Info <homelinuxi...@gmail.com> wrote:
> > Hello, > > Maybe not the most beautiful regex out there, hey I'm a noob, but it does > the job right: > ([A-Z][a-z]{2}\s)|([0-9]{2}\s[0-2][0-9](:[0-5][0-9]){2}\s[0-9]{4}) > You can start from here and find a nicer form of this regex. > > On 8/25/18 2:06 PM, Asad wrote: > > Hi All , > > I need a regex to match the date : Sat Aug 25 08:41:03 2018 and > covert into a format : '%m/%d/%Y %H:%M:%S' > > Thanks, > > -- > Asad Hasan > +91 9582111698 > > > -- Asad Hasan +91 9582111698