I'm trying to extract the date "25/01/2005", the company name "A One Investment Company Limited 大一投資有限公司", the Chinese name "大一投資有限公司" and the licence number "ABG896" from this string:
Name: A One Investment Company Limited 大一投資有限公司(ABG896) Date of Licence: 25/01/2005 Remarks
However I have no idea how to extract all the data INCLUDING the chinese signs into an array.
If your string is encoded as utf-8, set /u
mode and use \p{L}
to match unicode letters or use \X
as a replacement for .
. Note that \X
matches newlines, whereas .
does not.
See this page for further details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With