Can anyone decipher this for me? PHP (I think)
Posted
by Josh
on Stack Overflow
See other posts from Stack Overflow
or by Josh
Published on 2010-05-28T22:01:35Z
Indexed on
2010/05/28
22:12 UTC
Read the original article
Hit count: 134
This code is being used to parse email, it's stored as a table in a mySQL database. I believe it's PHP code. What does the (.+)
do?
/A new order has been successfully placed through(.+)Name:(.+)Company:(.+)Email:(.+)Address 1(.+)Order ID:(.+)Date:(.+)Payment Type:(.+)Order Status:(\s*)Accepted(.*)\n(.+)\$([\d\.]+)\s+X/si
Thanks, super-brainiacs!
© Stack Overflow or respective owner