online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import*; import java.util.Scanner; import java.util.regex.*; class RegexSearch{ public void tester(String Regex_Pattern){ Scanner sc= new Scanner(; String Test_String = sc.nextLine(); Pattern p = Pattern.compile(Regex_Pattern); Matcher m = p.matcher(Test_String); while(m.find()){ System.out.print(; } } } public class Main{ public static void main(String[]args){ RegexSearch obj = new RegexSearch(); obj.tester("\\S\\s\\S\\s\\S"); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.