diff --git a/pom.xml b/pom.xml
index 46d5994..edfe57a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,18 +67,6 @@
org.jenkins-ci.plugins.workflow
workflow-step-api
-
- org.parboiled
- parboiled-java
- 1.3.1
-
-
-
- org.ow2.asm
- *
-
-
-
com.jayway.jsonpath
json-path
diff --git a/src/main/java/org/jenkinsci/plugins/tokenmacro/Parser.java b/src/main/java/org/jenkinsci/plugins/tokenmacro/Parser.java
index 57bd2ff..4902deb 100644
--- a/src/main/java/org/jenkinsci/plugins/tokenmacro/Parser.java
+++ b/src/main/java/org/jenkinsci/plugins/tokenmacro/Parser.java
@@ -10,59 +10,54 @@
import org.jenkinsci.plugins.tokenmacro.transform.BeginningOrEndMatchTransorm;
import org.jenkinsci.plugins.tokenmacro.transform.ContentLengthTransform;
import org.jenkinsci.plugins.tokenmacro.transform.SubstringTransform;
-import org.parboiled.*;
-import org.parboiled.annotations.SuppressSubnodes;
-import org.parboiled.parserunners.ReportingParseRunner;
-import org.parboiled.support.Var;
import java.io.IOException;
+import java.text.CharacterIterator;
+import java.text.StringCharacterIterator;
import java.util.*;
+import java.util.stream.Collectors;
/**
* Created by acearl on 3/6/2016.
*/
-public class Parser extends BaseParser