Skip to content

Read file contents and use a regular expression to find all occurrences of text in square brackets, and print that text to the console. PHP

Notifications You must be signed in to change notification settings

espac/read-and-sort-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

read-and-sort PHP

Read file contents and use a regular expression to find all occurrences of text in square brackets, and print that text to the console. contains and INDEX1.PHP file which when run reads a second file INDEX2.PHP containing a lorem text with some of the texts in square brackets. The INDEX1.PHP file reads the contents of the second in this case the INDEX2.PHP and echo its contents as well as print out the words in square brackets.

About

Read file contents and use a regular expression to find all occurrences of text in square brackets, and print that text to the console. PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages