Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jim1202

    php character replace

    Lrnmore - I don't have to test for the prefix it could be any prefix but the ending number combo AA_BB-CC_DD-xx-xx (could be any number of digits really) needs to be have the - replaced with ^.. The ending number combo will always be preceded with an alpha character.. your script seems to do the...
  2. jim1202

    php character replace

    thanks very much. I was having a lot of trouble with the preg_replace.. not sure I understand the statements now.. but they work great. Thanks very much.
  3. jim1202

    php character replace

    I need a little help. I need to substitute a ^ for a - but only in certain instances. This is an example I need a fix for - for the string 'abcd-efgh_zzzz_xxxx-1-99' I only need to replace the - if the hyphen is located next to a number. So in the example the correct result should be...

Part and Inventory Search

Back
Top