yanivkalfa Posted January 27, 2008 Share Posted January 27, 2008 well i realy need this in order to sord a text variable need to make an array with URLS and i know that preg_match is only way of doing so Could anyone explain me how to use it exactly i mean i was trying to read explantion about it didnt undestood how to use it thanks again mates. Link to comment https://forums.phpfreaks.com/topic/87991-anyone-knows-how-to-use-preg_match-exactly-and-could-explain-please/ Share on other sites More sharing options...
laffin Posted January 27, 2008 Share Posted January 27, 2008 first read a tutorial on regex patterns. Such as This Link Once ya have the concept of how regex patterns are used (it's okay if u dun know how to build em) than get a tool to help u design and test yer regex patterns (Expresso regex Development tool). Okay now ya kinda know the patterns and ya have a tool to build those patterns. Just a note: Expresso dusn use the start/end delimeters as preg functions nor does it have the options after the ending delimeter. so be shure to add/remove them when going from code to expresso and vice versa. Good luck. Link to comment https://forums.phpfreaks.com/topic/87991-anyone-knows-how-to-use-preg_match-exactly-and-could-explain-please/#findComment-450247 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.