Jump to content

Select from line


sandy1028

Recommended Posts

17, 1992/07/17/9207170469

18, 1989/08/18/8908161943

1988 SUNDAY, April 24, 1 were best friends.1988/04/24/Hello


 

Out of this lines how to select only the string which is \d\d\d\d/\d\d/\d\d/string

or

\d\d\d\d/\d\d/\d\d/digits

 

So  the output should print

1992/07/17/9207170469

1989/08/18/8908161943

1988/04/24/Hello

Link to comment
https://forums.phpfreaks.com/topic/177100-select-from-line/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.