Regular Expression Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a regular expression, that finds what i want.  The problem lies in that I don't want to replace this pattern with another.  I want to prefix the pattern with a character.  Any suggestions as to how I might accomplish this?

regular expression = '/^\d\{1,2}\./'


--
Gerardo S. Rojas
mailto: grojas@strategicinc.com


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux