This article focuses on the use of the Perl split function, and a very useful function in Perl is the Perl split function-dividing the string and putting the segmented result into the array. This Perl split function uses a regular expression (RE)
Match MethodUse the regular expression pattern to perform a lookup on a string and return the result that contains the lookup as an array.Stringobj.match (RGEXP)ParametersStringobjRequired option. A string object or string literal on which to
‘*************************************************************************' * * Module name: Join function and Split function Refinement example ' * * said Ming: Blue Phoenix Design Mall fire Phoenix-Guo Wei | Blue Phoenix-Magic Spirit | Guo Wei-
SyntaxSplit (expression [, delimiter [, count [, start])The syntax of the Split function includes the following parameters:Expression is required. A string expression that contains a substring and a separator. If expression is a zero-length string,
This article will focus on the usage of the Perl split function. A very useful function in Perl is the Perl split function, which separates strings and puts the split results into arrays. This Perl split function uses a rule expression (RE), which
The original Http://www.jb51.net/article/28007.htm JS regular function match, exec, test, search, replace, split use the introduction set, learning regular expression of friends can refer to.
Match Method Use the regular expression pattern to
JS regular function match, exec, test, search, replace, split use the introduction set1.match MethodUse the regular expression pattern to perform a lookup on a string and return the result that contains the lookup as an array.Stringobj.match
Match Method
Performs a lookup on a string using the regular expression pattern and returns the result that contains the lookup as an array.
Stringobj.match (RGEXP)
Parameters
Stringobj
Required option. A string object or string literal to find it.
Match methodUse the regular expression pattern to perform a lookup on a string and return the result that contains the lookup as an array.Stringobj.match (RGEXP)ParametersStringobjRequired option. A string object or string literal on which to
article transferred from http://www.jb51.net/article/28007.htmThe purpose is that the content can match the results of all matches, to a few common query keywords, easy to check the person see the article, JS regular match all JS Reg Next, the key
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.