What is the php syntax for a REGEXP that changes "Last, First" into "Last..First"?
Posted
by ggg
on Stack Overflow
See other posts from Stack Overflow
or by ggg
Published on 2010-04-11T00:07:00Z
Indexed on
2010/04/11
0:13 UTC
Read the original article
Hit count: 262
I need to create a php search function for names and need to change LastName, FirstName into LastName..FirstName to search the database. I don't know if this helps, but the string will originally be in the form a variable ($Client).
I need the syntax for the three statements that find the string, matches, and makes the changes.
© Stack Overflow or respective owner