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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.