Tags
-
Recent Posts
Recent Comments
Categories
Meta
Tag Archives: RegEx
Java split() of String | Multiple whitespace characters
The split method of the String class is very useful when you want to tokenize a string. Its power lies in the fact that it accepts a string, as a parameter, which can be a regular expression. However you must … Continue reading
How to select any character across multiple lines in Java
You can do that using the following pattern in the compile static method of the java.util.regex.Pattern class. The pattern is (.|n|r)*? which means: any character (the .) or (the |) n or r. Zero or more times (the *) of … Continue reading



