Regular Expressions

368
4270 reads

March 20, 2013

212
2681 reads

March 20, 2013

87
1435 reads

March 20, 2013

106
1594 reads

March 20, 2013

136
2864 reads

March 20, 2013

193
2490 reads

March 20, 2013

159
3072 reads

March 20, 2013

38
1238 reads

February 28, 2013

String Operator


The split method splits a string into substrings, based on a pattern. The results (minus the pattern) are returned as an array; an empty pattern splits a string into characters

39
1255 reads

February 28, 2013

Matching Data Complex Pattern


Matching from the start or end of a string becomes more useful when it forms a part of a more complex pattern. Often such a pattern tries to match zero or more instances of a specified pattern.

38
1338 reads

February 28, 2013

Match a String


Frequently, it is useful to attempt to match some expression from the very start of a string; the character ^ followed by a match term is used to specify this.