I'm also curious as to why some regular expressions are wrapped in double and single quots with an i stuck in there like this below. I have not found references on it.
Ok, I'm sorry to waste your time. I'm in the process of reading the CRASH course tutotial posted in this forum. I will post results if I fix the problem.
Make sure you are only escaping characters that need to be escaped. You can also use the /d character instead of a number range.
I'm also curious as to why some regular expressions are wrapped in double and single quots with an i stuck in there like this below. I have not found references on it.
You can use any characters as delimeters. The more obvious ones are #, $, etc.
[/quote]
After reading this forums tutorial, I guess I have to learn the perl REGEX syntax while using pregmatch and preg_replace. Oh well, more stuff to learn!