Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (match = regex.exec(input)) {
- input = input.replace(match[1], "[URL=").replace(match[3], "]").replace(match[5], "[/URL]");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement