I want to know how to use PREG_MATCH and how to separate the variables suppose of if we are looking for the url in atext how to search for it suppose we want the word after about to be matched with the the numbers how should I write this code I want the real explanation of the code like this '/' and how do we separate the words and why the tag is like <\/b\> this
The best to learn about this is: http://www.php.net/preg_match Please make sure you read the examples. The commented code explains a little bit about this stuff. Also, for reading sake take a look at this: http://www.microcyb.com/?m=c&c=494 This is a pretty good explanation of RegEx (Regular Expression) matching.
The best way to learn about regular expressions is by practice. You do not need to escape < > , in the format. Also the expression shouldn't have \/si' ending, but rather /si' ending (start/end chars do not get escaped). Peace,