Jump to content

need regex help


rain13

Recommended Posts

following pattern matches file name that looks like abc.df

$pattern = '/\{\{(\w+\.\w+)\}\}/s';

but how can i make it mach file name hat has random number of dots in it and slash?like ./abc/def.ghany one got any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...