Hi,
I'm currently trying to search a
string for the sequence _any character_. I've tried the following:
The problem is this matches the string "_fsfd79797fdf_ ya thinks are great _fsfd_" instead of the two string I needed "_fsfd79797fdf_" and "_fsfd_". Any ideas how I could get around this, or any other packages I could use or am I back to the String class? I though the Matcher would go through the string sequentially and not get the longest match.