Jump to content

extracting from a pattern help


Destramic

Recommended Posts

hey guys im wanting to search a string and return a 1 - many results

 

string  =  "controller/action/:game/:parameter"

 

now in this instance i want to extract game and parameter but the string could consist of

anything but i only want the values that look like :this :test :game :whatever

 

i hope someone can help please....thanks

Link to comment
https://forums.phpfreaks.com/topic/237920-extracting-from-a-pattern-help/
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.