I have a text like “MASTER_LECTURE.NAME” so want to replace *MASTER_LECTURE* with space or another string. how to do that on regex php?
*i’m very newbie for REGEX. thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this with regular expression or simple string function
http://php.net/manual/en/function.preg-replace.php
http://php.net/manual/en/function.str-replace.php