If you have any questions about how to obtain files from a specific location in the file content, ask you about the content format as follows. However, there may be one or more professional names in the file content, how can I obtain these professional names? & Lt; ul & gt; & lt; li & gt; education & nbsp;: & nbsp; & lt; label & gt; bachelor degree & lt; /la, you guys, please come in and help us to get files in a specific location in the file content.
Ask heroes
For example, the content format is as follows, but the file content may have one or more professional names. how can I obtain these professional names?
- Education level:Bachelor
- Degree:
Bachelor
- Professional name:
Accounting
------ Solution --------------------
Preg_match_all ("
------ Solution --------------------
Professional name (.*?)(.*?)
------ Solution --------------------
Msu ", $ string, $ out );
Var_dump ($ out [2]);