Skip to content

Instantly share code, notes, and snippets.

@Rokko11

Rokko11/regex-pattern

Last active Dec 10, 2015
Embed
What would you like to do?
<div id="stack-trace">other.package.MyTry.exec(MyTry.java:19)</div>
Now I need a jQuery/JS-Method which parses this Element by the Regex "\(\w*\.java:\d*\)" and modifies the content of this div to following:
<div id="stack-trace">other.package.MyTry.exec(<a href="MyTry.java:19">MyTry.java:19</a>)</div>
@Rokko11

This comment has been minimized.

Copy link
Owner Author

@Rokko11 Rokko11 commented Dec 10, 2015

So parsing something like (.*.java:##) and wrapping that with an

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.