The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › PHP Mail Function
How can we extract string “abc.com” from a string “mailto:[email protected]?subject=Feedback” using regular expression of PHP?
You could check out this link: php_regularExp It shows you how to use regular expressions in PHP, then you just need to figure out the regular expression to use :)
Note: this doesn’t have anything to do with the PHP mail function.
However, I don’t think that’s the “whole answer” that you’re looking for. Please explain a bit more about what you are doing.